Skip to content

Commit 8dc62f5

Browse files
committed
fix: select maxTagPlaceholder display error #3085
1 parent 948727a commit 8dc62f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/vc-select/Selector/MultipleSelector.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ const props = {
5959

6060
maxTagCount: PropTypes.number,
6161
maxTagTextLength: PropTypes.number,
62-
maxTagPlaceholder: PropTypes.any.def(
63-
(omittedValues: LabelValueType[]) => `+ ${omittedValues.length} ...`,
62+
maxTagPlaceholder: PropTypes.any.def(() => (omittedValues: LabelValueType[]) =>
63+
`+ ${omittedValues.length} ...`,
6464
),
6565
tagRender: PropTypes.func,
6666

0 commit comments

Comments
 (0)