Skip to content

Commit 666c17a

Browse files
authored
fix(form:select): fix incorrect default value of showArrow (#1816)
1 parent edb20d6 commit 666c17a

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
@@ -123,7 +123,7 @@ export class SelectWidget extends ControlUIWidget<SFSelectWidgetSchema> implemen
123123
maxTagCount: maxTagCount || undefined,
124124
optionHeightPx: optionHeightPx || 32,
125125
optionOverflowSize: optionOverflowSize || 8,
126-
showArrow: typeof showArrow !== 'boolean' ? undefined : showArrow,
126+
showArrow: toBool(showArrow, true),
127127
compareWith: compareWith || ((o1: NzSafeAny, o2: NzSafeAny) => o1 === o2)
128128
};
129129

0 commit comments

Comments
 (0)