hc-oss / react-tag-input-component

lightweight react component for tag(s) input
https://codesandbox.io/s/react-tag-input-component-rgf97
MIT License
80 stars 36 forks source link

Space separators is not working #33

Closed ranjit-redekar closed 1 year ago

ranjit-redekar commented 1 year ago

I have added separators like below and it's not working. separators={['Space', 'Enter']}

after space tag is not getting add.

harshzalavadiya commented 1 year ago

@ranjit-redekar Space does not require any special keyword like Enter just use it like below

separators={[" ", "Enter"]}

https://codesandbox.io/s/vibrant-hill-mzyce8?file=/src/App.js

danny-dang commented 1 year ago

@harshzalavadiya Please update this in the docs, it's confusing