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

Selectmenu: Use placeholder for dialog title, not label #7399

Closed
gabrielschulhof opened this issue May 14, 2014 · 1 comment
Closed

Selectmenu: Use placeholder for dialog title, not label #7399

gabrielschulhof opened this issue May 14, 2014 · 1 comment
Assignees
Milestone

Comments

@gabrielschulhof
Copy link

For consistency with the popup-based version, the dialog-based selectmenu should use the placeholder menu item, if any, rather than the label associated with the selectmenu, like it does now.

@gabrielschulhof
Copy link
Author

The problem is in _decideFormat(). There's another problem too: We're using self.label.text() to set the title of the dialog, not self.label.getEncodedText(), which #2547 and #2550 have established is the right way to copy text from one part of the DOM to another while avoiding potential XSS issues.

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

Successfully merging a pull request may close this issue.

1 participant