[pickers] onAccept fired even when date is invalid, without information about error #11978
Labels
component: pickers
This is the name of the generic UI component, not the React module!
enhancement
This is not a bug, nor a new feature
Steps to reproduce
Link to live example: https://stackblitz.com/edit/react-mnt73n?file=Demo.tsx
Steps:
Current behavior
onAccept is fired, with no information about error
Expected behavior
one of 2 solutions
Context
I am trying to send request to backend whenever user stops entering value and provided value passes validation
Your environment
"react": "18.2.0", "react-dom": "18.2.0", "@mui/x-date-pickers": "6.19.3", "dayjs": "1.11.10", "@emotion/react": "11.11.3", "@emotion/styled": "11.11.0", "@mui/material": "5.15.7", "@types/react": "18.2.55", "@types/react-dom": "18.2.18", "typescript": "5.3.3"
Search keywords: pickers, onAccept, validation
The text was updated successfully, but these errors were encountered: