You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
This will allow adding a tag to the Select input after pressing the Enter key
What does the proposed API look like?
adding tokenSeparators support for or
The text was updated successfully, but these errors were encountered:
geoffrey
changed the title
Select tag mode: use Enter key as a tokenSeparator
Select mode="tags": use Enter key as a tokenSeparator
Jan 15, 2021
geoffrey
changed the title
Select mode="tags": use Enter key as a tokenSeparator
[Select mode="tags"] Add the ability to use the Enter key as a tokenSeparator
Jan 19, 2021
A year later, if you (or anyone else) still needs this... I just discovered that adding newline (i.e. '\n') to your tokenSeparators should get you the behaviour you're looking for!
Hello @geoffrey. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro or a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 3 days.
What problem does this feature solve?
This will allow adding a tag to the Select input after pressing the Enter key
What does the proposed API look like?
adding
tokenSeparators
support for
or
The text was updated successfully, but these errors were encountered: