New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select does not support default object value #2479
Comments
you can do this example |
@Bishop92 Try the above example. Make sure |
but sometimes I didn't know the index which the default data in a remote array |
you can fetch data at first,then find the index in the remote array |
These two examples are not working anymore in the latest version(1.4.2), so that maybe a bug? |
@PanJiaChen thanks a lot |
da jia neng bu neng bu yong english jie da wo kan bu dong a |
Steps to reproduce
Add a component el-select in a component that should represent a selection among objects:
and the data defined as
What is Expected?
The select should use the object with id : "a" as default and allowing to choose among the two options. but keeping the value of objectValue in data consistent with the structure of the object.
What is actually happening?
The select box does not set the object with id : "a" as default and, instead, the placeholder text is displayed.
The text was updated successfully, but these errors were encountered: