-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overlay form (properties) duplicates element ids #578
Comments
Maybe it is possible to prefix the original ids with something during the duplication and un-prefix them when the temporary copy is being closed. Probably that "duplication action" happening in patterns and the problem's there. "setup_vivibility" might be a good spot to make it work. The events "hide", "hidden" looked promising, too. |
@petschki What do you think? |
Instead of fiddling around with the duplicated |
Duplicated Element IDs is solved in #577 ... orderedselectwidget could need some love though plone/plone.app.z3cform#184 |
The IDs are duplicated which results into problems. IDs have to be unique by HTML specification.
Known problem: The ordered select input widget is broken currently.
It uses
document.getElementById
with the IDs of the current widget. Instead of finding the active form element it get the hidden one. This result in an error message (alert) on click: "Must select something!".The text was updated successfully, but these errors were encountered: