The readOnly flag for MUI MobileDatePicker doesn't work. The API has no effect on onClick functionality. The only workaround is to use disabled flag. However, we use both readOnly and disabled functionalities for different uses cases. Any help appreciated.
<MobileDatePicker
label="Date mobile"
disableOpenPicker
inputFormat="MM/dd/yyyy"
value={value}
readOnly
onChange={handleChange}
renderInput={(params) => (
<TextField {...params} InputProps={{ readOnly: true }} />
)}
/>