Skip to content

Commit 3510964

Browse files
committed
fix react warning
1 parent 7781194 commit 3510964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Selector/SingleSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const SingleSelector: React.FC<SelectorProps> = props => {
8989
onCompositionEnd={onInputCompositionEnd}
9090
tabIndex={tabIndex}
9191
attrs={pickAttrs(props, true)}
92-
maxLength={combobox && maxLength}
92+
maxLength={combobox ? maxLength : undefined}
9393
/>
9494
</span>
9595

0 commit comments

Comments
 (0)