Replies: 8 comments 1 reply
|
What's a combo box with a title component? |
|
create a menu with a title argument, show it as a popup combo box. The title becomes the zero'th element, which can't |
|
What's the code that creates that? |
|
the key is new Menu("title") ... then new Combox(menu).show() |
|
What's "Menu"? We don't have menu as an argument for |
|
This is approximately what I'm using I'd like the thing I specified as a title to be not clickable, and attempting to click on it to not cause the dialog to close. |
|
This is a toy example, not representative the way I actually generate these menus. |

Uh oh!
There was an error while loading. Please reload this page.
If I construct a combo box with a title component, clicking on that title closes the combo box without
any of the subitems being triggered. This is generally undesirable - the title looks like any other item
and it's an easy accidental target.
I've tried several kludgey workarounds but found no way to make the title area into neutral territory where
clicks are ignored.
All reactions