Skip to content

Commit 61fa2cf

Browse files
authored
fix: select trigger disabled option (#3867)
1 parent 8fc617a commit 61fa2cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-select/util.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export function findFirstMenuItem(children) {
156156
if (found) {
157157
return found;
158158
}
159-
} else if (!props.disabled) {
159+
} else if (!(props.disabled || props.disabled === '')) {
160160
return child;
161161
}
162162
}

0 commit comments

Comments
 (0)