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

Remove delimeters prop #960

Open
ad1992 opened this issue May 2, 2024 · 1 comment
Open

Remove delimeters prop #960

ad1992 opened this issue May 2, 2024 · 1 comment

Comments

@ad1992
Copy link
Member

ad1992 commented May 2, 2024

Add a separators prop which will have characters used for separation instead of key codes making it more user-friendly. Additionally, instead of allowing any random delimiters we will have a list of separators allowed for the component.
The separators can be one of the 👇🏻

 Enter, Tab, Comma, Semicolon, Space

We can leverage this list if the need arises but it will be much safer and easier to maintain as well as a more user-friendly API as well.
Please share your thoughts below

As a first step, I will be deprecating the prop delimiters so users and add the prop separators so users can smoothly migrate. The delimiters prop will be removed in 7.x.x

@turi4200
Copy link

Can you please trigger the warning only if the prop is used?
Thanks

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

No branches or pull requests

2 participants