Open VikramN opened 9 years ago
Here's an example component you could try integration with: https://github.com/fmoo/react-typeahead .
Maybe it would make sense to split it up somehow? Basically you'll have some tag source (regular input, typeahead, whatnot) that emits some value on confirm. Then you pass this value to the tag domain that displays the tags. There can be some model that takes care of extra logic (uniqueness etc.). Perhaps something like that.
Possibly integrate https://github.com/twitter/typeahead.js