Skip to content

Commit

Permalink
fix(form:select): fix maxTagCount default value is Infinity
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Jul 5, 2024
1 parent 23ae7ef commit a3dbb69
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: typeof showArrow !== 'boolean' ? undefined : showArrow,
Expand Down

0 comments on commit a3dbb69

Please sign in to comment.