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
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 👇🏻
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
delimitersso users and add the propseparatorsso users can smoothly migrate. Thedelimitersprop will be removed in7.x.x