assisrafael / react-bootstrap-utils

React bootstrap library
MIT License
6 stars 6 forks source link

Autocomplete doesn't stand external value change #21

Closed samuelpietra closed 4 years ago

samuelpietra commented 4 years ago

After choosing an Autocomplete fill suggestion, this field needs to be cleared for new searches. If one uses setValue function from parent useFormControl, passing an empty string as parameter, Autocomplete becomes visually empty, but, when focusing this field again, the last selected suggestion reappears - forcing one to manually erase its content in order to search and get new suggestions

assisrafael commented 4 years ago

Fixed on v0.16.0