[pickers] disableOpenPicker
prop not working on MobileDatePicker
#8036
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
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example on v5: https://codesandbox.io/s/heuristic-solomon-mxsrc0?file=/demo.tsx
Link to live example on v6: https://codesandbox.io/s/distracted-tom-6m02r8?file=/demo.tsx
I used the example of your documentation, adding the
disableOpenPicker
to the three different date pickers. Only MobileDatePicker will still be able to be opened.Current behavior 😯
MobileDatePicker ignores the
disableOpenPicker
and it's opened with interaction.Expected behavior 🤔
MobileDatePicker should not open the picker after
disableOpenPicker
is used.Context 🔦
No response
Your environment 🌎
This is my environment but, as I said, it's happening in your documentation example.
npx @mui/envinfo
Order ID 💳 (optional)
No response
The text was updated successfully, but these errors were encountered: