@material-ui/pickers datepicker how to cannot select future date code example
Example: material ui datepicker remove error
<DateTimePicker
disablePast
error={false}
helperText={null}
/>
<DateTimePicker
disablePast
error={false}
helperText={null}
/>