reactjs / react-autocomplete

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

[added] Auto select highlighted value on focus lost #252

Closed serhii-shvaher closed 7 years ago

serhii-shvaher commented 7 years ago

Added new props.autoSelect. If autoSelect=true highlighted value will be selected when user clicks outside of Autocomplete component.

Closes #251 issue.

matiwinnetou commented 7 years ago

👍

CMTegner commented 7 years ago

This was released in v1.7. I renamed the prop to selectOnBlur and removed the example. I'll add it back once I'm done rewriting the examples.