You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What you were expecting:
allow empty of the AutocompleteInput
What happened instead:
AutocompleteInput after select one value ,even you clear the input , always save the last selected choice .
Steps to reproduce:
https://codesandbox.io/s/simple-ucjul
2.enter to create comment page
3.choose one item of posts,
4.clear your input and leave
5.you can see the input will load the value selected last time Related code:
allowEmpty | Optional | boolean | false | If false and the searchText typed did not match any suggestion, the searchText will revert to the current value when the field is blurred. If true and the searchText is set to '' then the field will set the input value to null. |
but after selected one when the field is blurred. the input never became empty. Environment
React-admin version: next
The text was updated successfully, but these errors were encountered:
What you were expecting:
allow empty of the AutocompleteInput
What happened instead:
AutocompleteInput after select one value ,even you clear the input , always save the last selected choice .
Steps to reproduce:
2.enter to create comment page
3.choose one item of posts,
4.clear your input and leave
5.you can see the input will load the value selected last time
Related code:
In document we can see following :
The text was updated successfully, but these errors were encountered: