0

I’ve noticed that issue:

https://github.com/mui/material-ui-pickers/issues/1033

I’ve seen that it is same in DateTimePicker so I’ve made changes:

added line in Picker object (somewhere near line 100):

this.inputField = this.isInput ? this.element : this.element.find(\’input\’);

And in show: function (e) (around line 410):

if (this.inputField.prop(\’disabled\’) || (this.inputField.prop(\’readonly\’) && this.o.enableOnReadonly === false))
return;

Can this be updated or oppened as issue?

Disabled input behaviour DatePicker vs DateTimePicker
Tomaz Kranjec Asked question September 23, 2024