-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SelectMenu label by options #1151
Comments
I'm not sure if the proposed solution is the best approach. The modelValue is already being selected from the options, and updating the modelValue also updates the label text from the optionAttribute key. Therefore, I'm not sure if the proposed solution would add much value. |
I think this component should be improved because you also have the It would be better to work with only one prop when working with objects, no |
I think you right I fix this as soon as possible I plan to remove |
What do you think about this enhancement suggestion? |
@Hossein-Mirazimi The |
@benjamincanac |
I'm not sure to understand the issue here. Is this about the |
Both,
|
Description
When using
optionAttribute
inUSelectMenu
is selecting the label from the actualmodelValue
instead of theoptions
.It would be more useful get the label from the actual
options
so an additional slotlabel
has not to be created just to show the needed attribute (ex: name) instead of the the value (ex: id).Thanks!.
Additional context
No response
The text was updated successfully, but these errors were encountered: