-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[material-ui][Autocomplete] Typescript errors and warnings #38817
Comments
@brijeshb42 if i use |
EDITED! onChange={(_, value) => {
setState([...value]);
}} |
Same issue. Latest release broke typing for me. Feel like #38253 should have been held for a major release. |
Let's revert the pull request. @michaldudak we discussed that we should likely create a copy of the |
Will this be fixed anytime soon or should i pin my |
It's working till |
I have the same issue |
For your initial code, I would recommend updating the useState to const [selectedFilims, setSelectedFilims] = React.useState<readonly IFilims[]>([]); |
The reverted PR was released in |
Duplicates
Latest version
Steps to reproduce 🕹
https://codesandbox.io/s/nktnvy?file=/Demo.tsx
Code to reproduce
Current behavior 😯
Throwing warnings and erros in Autocomplete
Expected behavior 🤔
Autocomplete should work fine as before
The text was updated successfully, but these errors were encountered: