reactjs / react-autocomplete

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

automatically selecting exact match from list #325

Closed amitnjha closed 6 years ago

amitnjha commented 6 years ago

I need some clarification if this is already supported.

Scenario: User starts typing value in the text box and the list filters fine. When a exact match has been typed and the control looses focus, the exact match is not selected automatically. I tried using selectOnBlur but it does not help my scenario. Using this causes inexact match to be selected which means new value which is not in the list of values cant be entered by the user.

amitnjha commented 6 years ago

Closing as for now I am using react-select for my use case. Will reopen if needed.