If I click outside of the DateTimePicker popup onAccept is fired #15661
Labels
component: pickers
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
If I click outside of the DateTimePicker popup
onAccept is fired
I want onAccept to be fired only if I press OK. As far as I understand this should be an expected behavior.
If I add a cancel button though and if I click cancel then onAccept is not fired which is good.
Current Behavior 😯
Expected Behavior 🤔
Your Environment 🌎
| Tech | Version |
"@mui/x-date-pickers@^6":
version "6.20.2"
"@mui/[email protected]":
version "5.16.7"
next@^13.1.3:
version "13.1.6"
Search keywords:
The text was updated successfully, but these errors were encountered: