From bafe3abd65f075f29e99d80d88d5211e9f9b831a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A1=E8=89=B2?= Date: Mon, 15 Jul 2024 13:58:23 +0800 Subject: [PATCH] fix(form:select): fix `maxTagCount` default value is `Infinity` (#1815) --- packages/form/src/widgets/select/select.widget.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/form/src/widgets/select/select.widget.ts b/packages/form/src/widgets/select/select.widget.ts index 4222bf438d..400f258270 100644 --- a/packages/form/src/widgets/select/select.widget.ts +++ b/packages/form/src/widgets/select/select.widget.ts @@ -120,7 +120,7 @@ export class SelectWidget extends ControlUIWidget implemen mode: mode || 'default', showSearch: toBool(showSearch, true), tokenSeparators: tokenSeparators || [], - maxTagCount: maxTagCount || undefined, + maxTagCount: maxTagCount || Infinity, optionHeightPx: optionHeightPx || 32, optionOverflowSize: optionOverflowSize || 8, showArrow: toBool(showArrow, true),