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
Greetings all.
I faced with problem when try reselect empty value on Edit form in AutocompleteInput after input some value.
What you were expecting:
Empty option will be selected again and the inputted value is deleted
What happened instead:
Input contains inputted value.
Steps to reproduce:
It's easy to reproduce on RA Demo
Select filter Product;
Select input and select not empty option;
Then select input again and select empty option; We can see empty input - correct;
Then input 'wa' - we can see empty and other options. Select empty option - we still see what was input.
We got report from user. "Empty option has behavior like common option, it means if we select empty we expect to see empty, but we can see what was inputted".
If it's expected behaviour please close issue. But I agree with this report because when we select some option the input.value changes to the selected even if we are talking about empty value.
Perhaps this problem applies to react-final-form because there is no state update after selected again the empty value.
Environment
React-admin version: 3.0.3 (also tested on 3.2.2)
The text was updated successfully, but these errors were encountered:
Greetings all.
I faced with problem when try reselect empty value on Edit form in AutocompleteInput after input some value.
What you were expecting:
Empty option will be selected again and the inputted value is deleted
What happened instead:
Input contains inputted value.
Steps to reproduce:
It's easy to reproduce on RA Demo
We got report from user. "Empty option has behavior like common option, it means if we select empty we expect to see empty, but we can see what was inputted".
If it's expected behaviour please close issue. But I agree with this report because when we select some option the input.value changes to the selected even if we are talking about empty value.
Perhaps this problem applies to react-final-form because there is no state update after selected again the empty value.
Environment
The text was updated successfully, but these errors were encountered: