Skip to content

Commit bafe3ab

Browse files
authored
fix(form:select): fix maxTagCount default value is Infinity (#1815)
1 parent 666c17a commit bafe3ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/form/src/widgets/select/select.widget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export class SelectWidget extends ControlUIWidget<SFSelectWidgetSchema> implemen
120120
mode: mode || 'default',
121121
showSearch: toBool(showSearch, true),
122122
tokenSeparators: tokenSeparators || [],
123-
maxTagCount: maxTagCount || undefined,
123+
maxTagCount: maxTagCount || Infinity,
124124
optionHeightPx: optionHeightPx || 32,
125125
optionOverflowSize: optionOverflowSize || 8,
126126
showArrow: toBool(showArrow, true),

0 commit comments

Comments
 (0)