v-select ignores item-value
See original GitHub issueIt 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?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Vuetify, set value to v-select ignoring items - Stack Overflow
Just use item-value and item-text props of v-select. This code is working but have a problem, you can't have 2 questions with same...
Read more >Select component — Vuetify
When using objects for the items prop, you must associate item-text and item-value with existing properties on your objects.
Read more >[Solved]-Vuetify, set value to v-select ignoring items-Vue.js
Just use item-value and item-text props of v-select. This code is working but have a problem, you can't have 2 questions with same...
Read more >Select component — Vuetify.js
When using objects for the items prop, you must associate item-text and item-value with existing properties on your objects. These values are defaulted...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yea, your assumption is correct in that input-value should alter what is returned in the array, will fix.
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.