You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using objects as options for a VaSelect, I often need to update two (or more) model properties with properties from the selected option.
This is not easy with VaSelect as the selected value is the option property specified by valueBy: there's no event that provides the full object, unless you don't use valueBy which introduces other issues.
A @select event that provides the selected object would be really useful.
The text was updated successfully, but these errors were encountered:
Well, if valueBy is not used, v-model will be bound to the whole object, rather than, say, the object id. So, let's say I have a VaSelect that I want to use to set both 'user_id' and 'user_name' in the model... this will provide the full option in the @update event, but it will also set model.uer_id to the whole object:
When using objects as options for a VaSelect, I often need to update two (or more) model properties with properties from the selected option.
This is not easy with VaSelect as the selected value is the option property specified by
valueBy
: there's no event that provides the full object, unless you don't usevalueBy
which introduces other issues.A
@select
event that provides the selected object would be really useful.The text was updated successfully, but these errors were encountered: