moroshko / react-autosuggest

WAI-ARIA compliant React autosuggest component
http://react-autosuggest.js.org
MIT License
5.97k stars 585 forks source link

Is it possible to use it with textarea? #56

Closed PetrSnobelt closed 9 years ago

PetrSnobelt commented 9 years ago

Hi, I'm looking for autosuggest for textarea, is it possible to use react-autosuggest with textarea and if so can you add example?

Thanks

moroshko commented 9 years ago

@PetrSnobelt Could you describe your use case?

PetrSnobelt commented 9 years ago

I have textarea for supplier full name and address. When someone start typing supplier name I'd like to allow them to use previously inserted supplier.

In past I use http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ for this, but I'm looking for react/nojquery alternative

moroshko commented 9 years ago

@PetrSnobelt It's not possible to achieve what you want with this component. react-autosuggest always renders an <input> element.