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
The chosen value of a select tag in a will be ignored when the dialog is submitted. Instead the default value for the select is submitted.
This seems to be because the formlet is cloned before it is serialized. Apparently JQuery clone doesn't copy DOM values like currently selected item in a .
See http://www.mail-archive.com/[email protected]/msg60449.html
I've worked around it by serializing the original element instead of the clone which is, of course, a shameful and ugly hack but works because I don't happen to have any sub-forms or formlets.
The text was updated successfully, but these errors were encountered:
The chosen value of a select tag in a will be ignored when the dialog is submitted. Instead the default value for the select is submitted.
This seems to be because the formlet is cloned before it is serialized. Apparently JQuery clone doesn't copy DOM values like currently selected item in a . See http://www.mail-archive.com/[email protected]/msg60449.html I've worked around it by serializing the original element instead of the clone which is, of course, a shameful and ugly hack but works because I don't happen to have any sub-forms or formlets.
The text was updated successfully, but these errors were encountered: