Browse Source

fix: select trigger disabled option (#3867)

pull/3900/head
zkwolf 4 years ago committed by GitHub
parent
commit
61fa2cfdf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/vc-select/util.js

2
components/vc-select/util.js

@ -156,7 +156,7 @@ export function findFirstMenuItem(children) {
if (found) {
return found;
}
} else if (!props.disabled) {
} else if (!(props.disabled || props.disabled === '')) {
return child;
}
}

Loading…
Cancel
Save