Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Selectmenu: Find label when <select> element has weird ID #7401
Boy! This issue reveals problems in the popup widget too. It's not sufficient to escape the ID when looking for the label. A custom selectmenu with a weird ID will cause a popup with a weird ID to be created, as well as a popup container, popup screen, listview, etc. The ID needs to be escaped in all selectors.
Oh, and let's not forget pagecontainer. The dialog generated for the selectmenu when the menu is large also has an ID based on the ID of the selectmenu, so if the selectmenu's ID is weird, so will the dialog's be, and so will its data-url attribute.