Skip to content

Remove delimeters prop #960

@ad1992

Description

@ad1992

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions