VikramN / Re-Tag

Reactjs Tag Component
MIT License
21 stars 2 forks source link

Auto Complete #1

Open VikramN opened 9 years ago

VikramN commented 9 years ago

Possibly integrate https://github.com/twitter/typeahead.js

bebraw commented 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.