Skip to content
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 X v6 does not get recognized correctly after build #986

Closed
kac5a opened this issue Sep 25, 2023 · 0 comments · Fixed by #973
Closed

MUI X v6 does not get recognized correctly after build #986

kac5a opened this issue Sep 25, 2023 · 0 comments · Fixed by #973

Comments

@kac5a
Copy link

kac5a commented Sep 25, 2023

Describe the bug
Locally, when you start your app, the datetime selector works properly, it generates a "standard" variant date picker from MUI X, but if you build the project and start it, or deploy it, the datetime picker is an outlined picker, and after selecting a date, the app crashes.

To Reproduce

  • Create a MUI query builder
  • Create a datetime field
  • Build the project
  • Select a date

Additional context
I checked the code, and in the packages/mui/modules/widgets/value/MuiDateTime.jsx component, there is a check for isV6. That might be the problem. If I use the same component, and set that value to true, the component gets built properly.

ukrbublik added a commit that referenced this issue Oct 25, 2023
@ukrbublik ukrbublik linked a pull request Oct 25, 2023 that will close this issue
ukrbublik added a commit that referenced this issue Oct 25, 2023
* wip
.

* fix #969

* nit

.

* fix #986

* fix icon undefined

* improve

* .

* @ant-design/icons 5

* .

* lint

* .

* doc groupTitle

* add test

* without_field_autocomplete

* lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant