Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

ShowStopper - click on Form Fields adds hidden fields if 'name' attribute set #5593

Closed
jaxtrx opened this issue Feb 6, 2013 · 5 comments
Closed
Assignees
Milestone

Comments

@jaxtrx
Copy link

jaxtrx commented Feb 6, 2013

http://jsfiddle.net/LdD2G/3/

View dom elements above form appear as field is clicked :

The first 2 hidden fields were created by jquery as I clicked on fields or fields gain focus type=text company name

Note if name attribute is removed, then hidden fields do not appear, however then form serialization can't be used.

Occurs in Chrome & Firefox, no other browsers were tested.

Thanks!!

@marbin
Copy link

marbin commented Feb 6, 2013

I am seeing the same thing.
We noticed that hidden input elements are added when the value changes in a select.
I can reproduce it in Chrome 24 + Win7 on the demo page for forms:
http://jquerymobile.com/demos/1.3.0-rc.1/docs/forms/selects/
I change the values of the select with the name "select-choice-min" and inspect the element in the Chrome dev tool.
After a few changes, it looks like in the attached image.
hidden_fidlds

@ghost ghost assigned gabrielschulhof Feb 6, 2013
@toddparker
Copy link
Contributor

We're looking at fix for this now. Thanks for the report.

@gabrielschulhof
Copy link

Please verify that this is fixed.

@jaxtrx
Copy link
Author

jaxtrx commented Feb 6, 2013

Looks like the fix took care of it. I'm no longer seeing duplicated named hidden fields added.

Thanks for all the hard work and great product!

Charles

@marbin
Copy link

marbin commented Feb 7, 2013

Looks alright here as well.
Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants