[pickers] Disable the Text Feild in the MobileKeyboardView in Mobile Date picker is not working
Duplicates
- [X] I have searched the existing issues
Latest version
- [X] I have tested the latest version
Steps to reproduce 🕹
Link to live example: from mui-x page
https://codesandbox.io/s/keen-sound-ls070w?file=/demo.tsx
Steps:
- add disabled to the TextField in renderInput 2.click on the date picker modal
- change to the MobileKeyboardView
- type something it will change the value
Current behavior 😯
changeing disabled input
Expected behavior 🤔
not to change disabled input
Context 🔦
No response
Your environment 🌎
No response
Order ID 💳 (optional)
No response
@sohaibnajjar Could you explain what are you trying to achieve by specifying disabled only on the rendered input?
Doing this only the rendered input is aware, that it should be disabled.
If you want to conditionally disable the picker, consider just using the disabled prop on the Picker component.
Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information.