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
Choosing Option 1 is not working correctly - no label is shown.
In the Vue Devtools it shows in the Element MdSelect: MdSelect:Object items:Object 1:"Option 2" md-option-3eb70hnhr:"Option 1" md-option-5ldo6g1t4:"Option 1" md-option-8qwf8bb4e:"Option 1" md-option-b2d52ef6:"Option 1" md-option-fly0yb5x7:"Option 1" md-option-jqu2sg9y5:"Option 1"
The value is saved correctly in the model 'type_id'
* fix(MdInput): Avoid InputEvent object from @input event
fix#1160
* fix(MdField): `$emit` missing `this`
* fix(MdSelect): declare all MdSelect properties in `data()` and make `MdSelect.modelValue` synced wit
* feat(MdField): make 'v-model'/'value' in MdFile, MdInput, MdSelect, MdTextarea optional
`MdSelect` could be switched between single and multiple
fix#1150
* feat(MdSelect): one way update with `value`
* fix(MdOption): let value avaiable to be `0`
fix#1203
* fix(MdField): set value default as null
* fix(MdField): Remove value default
#1196 (comment)
* style(MdSelect): brackets for if statement execute block
#1196 (comment)
Steps to reproduce
I try to use MdSelect with an array of objects like:
types: [{id: 0,name:"Option 1"},{id: 1,name: "Option 2"}],
What is actually happening?
Choosing Option 1 is not working correctly - no label is shown.
In the Vue Devtools it shows in the Element MdSelect:
MdSelect:Object
items:Object
1:"Option 2"
md-option-3eb70hnhr:"Option 1"
md-option-5ldo6g1t4:"Option 1"
md-option-8qwf8bb4e:"Option 1"
md-option-b2d52ef6:"Option 1"
md-option-fly0yb5x7:"Option 1"
md-option-jqu2sg9y5:"Option 1"
The value is saved correctly in the model 'type_id'
Reproduction Link
https://codepen.io/jackovsky888/pen/jaxWKG?editors=1111
The text was updated successfully, but these errors were encountered: