From 6d5d4616f732073a56082747adb103096897dcd8 Mon Sep 17 00:00:00 2001 From: zkwolf Date: Sun, 28 Mar 2021 16:45:38 +0800 Subject: [PATCH] fix: select trigger disabled option --- components/vc-select/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/vc-select/util.js b/components/vc-select/util.js index c3a117ed21..34e68f9384 100644 --- a/components/vc-select/util.js +++ b/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; } }