question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v-select ignores item-value

See original GitHub issue

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?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
johnleidercommented, May 2, 2017

Yea, your assumption is correct in that input-value should alter what is returned in the array, will fix.

0reactions
jacekkarczmarczykcommented, Nov 2, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >
Select | Element Plus
v-model is the value of el-option that is currently selected.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found