-
Can the Menu component show a list item when a user selects it? Like this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @sang-yeo This is the key difference between a Menu and a Combobox. A Menu is used to perform an action. It's trigger is static, it never changes its meaning. It's always the "bookmarks" menu, or the "more actions" menu. Upon performing the action, it's meaning never changes, it's still the "more actions" menu. A Combobox is used to select a value. As you are changing the text, you are in-fact selecting a value and subsequently displaying that selection to the user. So you should be using the Combobox here. |
Beta Was this translation helpful? Give feedback.
Hi @sang-yeo
This is the key difference between a Menu and a Combobox.
A Menu is used to perform an action. It's trigger is static, it never changes its meaning. It's always the "bookmarks" menu, or the "more actions" menu. Upon performing the action, it's meaning never changes, it's still the "more actions" menu.
A Combobox is used to select a value. As you are changing the text, you are in-fact selecting a value and subsequently displaying that selection to the user. So you should be using the Combobox here.