Has anyone ever created some TextInput component which can hold multiple values? For example label = 'Fruits' and a single text input allows user to key in "Banana", "Orange" and so on? Probably automatically splitting them using "Return"/"Enter" key?
You should use the react-tag-input for this. Demo here
NPM
Installation
npm install --save react-tag-input
There are lot to experiment with.
Another good tag input react-tagsinput
If bootstrap is an option you could use this
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With