Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] any way to use suggestions with spaces #17

Open
akaguny opened this issue Sep 25, 2019 · 1 comment
Open

[question] any way to use suggestions with spaces #17

akaguny opened this issue Sep 25, 2019 · 1 comment

Comments

@akaguny
Copy link

akaguny commented Sep 25, 2019

Hi!
Can you tell about possibility to use spaces in suggestions.
I want to have vocabulary ['hi world', 'hello world', 'world'].
I was debugging code and find

* 2. Contains `space`
=(
I'm also used Ant.design if it helpful.

@ojame
Copy link

ojame commented Mar 30, 2022

It looks like you could provide a validate function or use the split prop to change the behaviour.

split is a space by default, I changed it to an empty string (split='') and now I can use suggestions with spaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants