form2js icon indicating copy to clipboard operation
form2js copied to clipboard

array for select box is not working

Open dheeru opened this issue 14 years ago • 1 comments

I have a table of form values, each row has different input types (based on column) like text and select box.

the text boxes are returned as array but the select box returns the last rows' value all the time.

Please let me know if there is a workaround ??

dheeru avatar Dec 28 '11 07:12 dheeru

Looks like this line is the culprit:

https://github.com/maxatwork/form2js/blob/master/src/form2js.js#L250

@maxatwork can you speak to why you treated select's different in this case?

robbiecloset avatar Jan 23 '13 22:01 robbiecloset