Reputation: 315
I don't understand why autocomplete clearing selected value, but logic for select value work excelent? sandbox: sandbox example
Upvotes: 0
Views: 2090
Reputation: 804
sir.
You should use inputValue
for AutoComplete, not value
property.
...
<Autocomplete
inputValue={selectedValue ? selectedValue : ''}
options={optionsList}
...
Upvotes: 1