-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[material-ui][Autocomplete] Grouped options demo has console errors in Next.js #39474
Comments
@MSturges Could you share a repro? I couldn't reproduce this in a sandbox: https://codesandbox.io/p/sandbox/https-github-com-mui-material-ui-issues-39474-kdgq9g?file=%2Fsrc%2Fapp%2Fpage.tsx%3A28%2C2 (it's that exact demo copy+pasted into a Next.js setup without modification) |
I'm seeing this as well on my project and on the codesandbox you linked. It only shows up once you open the autocomplete |
Next.js doesn't like the I've opened a PR for the fix, sandbox: https://codesandbox.io/p/sandbox/https-github-com-mui-material-ui-pull-39795-fwdm7f?file=%2Fsrc%2Fapp%2Fpage.tsx%3A1%2C1 |
Steps to reproduce 🕹
Link to live example: https://mui.com/material-ui/react-autocomplete/#grouped
using nextjs
It works but I see this in my console
Current behavior 😯
No response
Expected behavior 🤔
No response
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: