-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"MUI: The value provided to Autocomplete is invalid." error on deselection #8182
Comments
Thanks for reporting this. Please provide a sample application showing the issue by forking the following CodeSandbox (https://codesandbox.io/s/github/marmelab/react-admin/tree/master/examples/simple). |
Here it is: Steps:
|
Reproduced. |
I am experiencing the same issue with react-admin 4.8.2 |
is there any update on this? Facing this on 4.5.0. |
@mohammad-23 you're right this has been open for too long. We'll try to take some time to address this issue within the next 2 weeks. |
What you were expecting:
Case of autocomplete on reference input with paging data provider. Initial list shows only limited, first page of fetched data. Autocomplete query filter reload the list. Deselecting selected value should restore initial state (empty value and initial first page list) without any warnings.
Example of usage:
What happened instead:
If selected value is from out of first page deselecting of it will restore the initial state but also raise a warning rised on the console, for example:
Environment
The text was updated successfully, but these errors were encountered: