reactjs / react-autocomplete

WAI-ARIA compliant React autocomplete (combobox) component
MIT License
2.17k stars 532 forks source link

Dropdown Indicator in the input tag #302

Closed rishabh92 closed 6 years ago

rishabh92 commented 6 years ago

Is there any inbuilt option to have some kind of dropdown indicator (down arrow) in the input box? Currently, dropdown input box looks like normal input box.

screen shot 2017-12-20 at 3 12 58 pm
rishabh92 commented 6 years ago

For now, i have added a dropdown image using css, is there any better way to it?

CMTegner commented 6 years ago

Hi Rishabh! One way of adding this would be to use renderInput. Here you can add additional elements that you can style to make look like appear inside the input.