Skip to content

Commit

Permalink
fix scheduler appointment form date editor
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeVitik committed Oct 15, 2021
1 parent 7eebe44 commit 25e7568
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ const DateEditorBase = React.memo(({
return (
<LocalizationProvider dateAdapter={AdapterMoment}>
<DateTimePicker
className={classNames(classes.dateEditor, className)}
disabled={readOnly}
renderInput={props => <TextField margin="normal" variant="filled" {...props} />}
renderInput={props => <TextField className={classNames(classes.dateEditor, className)} margin="normal" variant="filled" {...props} />}
value={value}
onChange={memoizedChangeHandler}
inputFormat={dateFormat}
Expand Down

0 comments on commit 25e7568

Please sign in to comment.