It seems like the v-select component is ignoring its item-value property: https://codepen.io/anon/pen/Mmmqez?editors=1111
When you select an item, the selected property gets set to an object ({ "text": "State 1", "id": 1 }), instead of just the id (1).
Am I doing something wrong?
item-value is to tell the select which property in your object is the items value, it doesn't change the output.
@johnleider Aah. But what is the difference between item-text and item-value? I thought of it like item-text is the actual text which is displayed, where as item-value would be the value of the select.
Yea, your assumption is correct in that input-value should alter what is returned in the array, will fix.
simillar issue with the autocomplete
We kindly ask users to not comment on closed/resolved issues. If you believe that this issue has not been correctly resolved, please create a new issue showing the regression or reach out to us in our Discord community.
Thank you for your contribution and interest in improving Vuetify.
Most helpful comment
Yea, your assumption is correct in that input-value should alter what is returned in the array, will fix.