Combobox with Form question #3055
Closed
AlexAngelesAuna
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm implementing the Form Combobox component in my project. The following code is the same as we can find on the website.
But I can't undertand why the value in
CommandItem
islanguage.label
Shouldn't I put the
language.value
there? Because I have a list with some items repeated in thelabel
field, but invalue
field they are different, something like this:The code above is just an example, in my project I have a similar case but my object array has more fields. So this cause me some problems and I need to put a unique identifier in the value of
CommandItem
.How can I solve this? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions