Skip to content

Commit

Permalink
fix(form:select): fix maxTagCount default value is Infinity (#1815)
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk authored Jul 15, 2024
1 parent 666c17a commit bafe3ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/form/src/widgets/select/select.widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class SelectWidget extends ControlUIWidget<SFSelectWidgetSchema> 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),
Expand Down

0 comments on commit bafe3ab

Please sign in to comment.