Skip to content

Commit

Permalink
fix: select maxTagPlaceholder display error #3085
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Nov 2, 2020
1 parent 948727a commit 8dc62f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/vc-select/Selector/MultipleSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ const props = {

maxTagCount: PropTypes.number,
maxTagTextLength: PropTypes.number,
maxTagPlaceholder: PropTypes.any.def(
(omittedValues: LabelValueType[]) => `+ ${omittedValues.length} ...`,
maxTagPlaceholder: PropTypes.any.def(() => (omittedValues: LabelValueType[]) =>
`+ ${omittedValues.length} ...`,
),
tagRender: PropTypes.func,

Expand Down

0 comments on commit 8dc62f5

Please sign in to comment.