[pickers][DatePicker] disableOpenPicker
disables the entire picker, not just the picker icon as per the docs
#13201
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
Link to live example: https://stackblitz.com/edit/react-ewyrms?file=Demo.tsx
Steps:
Current behavior
The picker icon is not rendered and neither is the entire picker, except for the action bar for some reason.
Expected behavior
As per the docs and the behavior in v5,
disableOpenPicker
should only hide the picker icon, not the picker itself.Context
I'm upgrading from v5 and this seems to be an undocumented breaking change.
I tried with a couple versions of v6 and it seems the problem was also present in those.
#11618 mentions a similar problem but specifically for
MobileDatePicker
. My problem is also inDesktopDatePicker
.Your environment
npx @mui/envinfo
Search keywords: disableOpenPicker
Order ID: 71270
The text was updated successfully, but these errors were encountered: