We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61cbfa5 commit bb14c55Copy full SHA for bb14c55
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "element-react",
3
- "version": "1.4.11",
+ "version": "1.4.12",
4
"description": "Element UI for React",
5
"private": false,
6
"main": "dist/npm/es5/index.js",
src/select/Select.jsx
@@ -773,7 +773,7 @@ class Select extends Component {
773
selected = selected.slice(0);
774
775
selected.forEach((item, index) => {
776
- if (item === option || item.currentLabel() === option.currentLabel()) {
+ if (item === option || item.props.value === option.props.value) {
777
optionIndex = index;
778
}
779
});
0 commit comments