QSelect showing option value instead of label
-
With this code
<q-select v-model="bot.exchangeApi" @blur="$v.bot.exchangeApi.$touch" :options="exchangeApis" label="Exchange API" emit-value stack-label/>
this.exchangeApis = [{ label: 'first', value: 'firstVALUE' }]
This is OK (
first
is shown)
But after I select
first
the input is populated withfirstValue
How can I make it to show
first
in the input, I wantfirstValue
only in the v-model (which is so). -
@reath I think you’re missing map-options:
https://quasar.dev/vue-components/select#Example--Map-options