[pickers] AM/PM field is not disabled when validation fails for the minTime and maxTime properties. #15410
Labels
bug 🐛
Something doesn't work
component: pickers
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
Steps to reproduce
Steps:
Current behavior
When the AM/PM (12-hour format) option is selected in the time picker, the AM/PM field is not disabled, even if the minTime is set to a later time. This allows users to select 'AM,' even if that time has already passed, while the other fields are working properly.
Expected behavior
When the AM/PM (12-hour format) is selected in the time picker, the AM/PM field should be disabled.
Context
this issue occurs when you pass the ampm prop true to the timepicker
Your environment
npx @mui/envinfo
Search keywords: timepicker
The text was updated successfully, but these errors were encountered: