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

[pickers] Handle luxon throwOnInvalid setting (exception) #13486

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LukasTy
Copy link
Member

@LukasTy LukasTy commented Jun 14, 2024

Fixes #11853.

When Settings.throwOnInvalid = true luxon:

  • throws an error if an invalid entry is being parsed (i.e. manually entering/selecting section the field)
  • disallows invalid date (i.e. removing value from a section)

@LukasTy LukasTy added the component: pickers This is the name of the generic UI component, not the React module! label Jun 14, 2024
@LukasTy LukasTy self-assigned this Jun 14, 2024
@mui-bot
Copy link

mui-bot commented Jun 14, 2024

Deploy preview: https://deploy-preview-13486--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 064c234

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pickers This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[pickers] Support AdapterLuxon with throwOnInvalid = true
2 participants