You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have my form names in ruby-style syntax like a[b][c], but when using js2form the normalizeName process turns the object I pass into the a.b.c style names. This means that the input names to don't match the names the js2form function is creating for the object, so nothing gets filled in. Is this the intended behavior or am I missing something?
The text was updated successfully, but these errors were encountered:
As a followup, this only occurs when you have ruby-style syntax one level deep (such as a[b]). I fixed this by adding the following code on lines 136-140 of form2js.js:
I have my form names in ruby-style syntax like
a[b][c]
, but when using js2form the normalizeName process turns the object I pass into thea.b.c
style names. This means that the input names to don't match the names the js2form function is creating for the object, so nothing gets filled in. Is this the intended behavior or am I missing something?The text was updated successfully, but these errors were encountered: