Replies: 1 comment 3 replies
-
The tags are for display purposes only, so if you want them to be the same or different, you can do both. The usual scenario is that the developer is dealing with key-value pairs, from persistent storage or elsewhere, the user's |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With this simple setup:
I would expect selecting
Chocolate
to showChocolate
as the selection, however the value of theAutoComplete
component is only the value key of the option that was selected so it showschocolate
. I am wondering what the reasoning for this is? It would also be nice to be able to access both the label and the value of the selected option for times when the user doesn't need to know what the value is, just the label.Beta Was this translation helpful? Give feedback.
All reactions