mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 16:22:59 +10:00
Jubair70:fix/date-selection
This commit is contained in:
@ -58,6 +58,7 @@ const ResumeInput: React.FC<Props> = ({ type = 'text', label, path, className, m
|
||||
openTo="year"
|
||||
label={label}
|
||||
value={dayjs(value)}
|
||||
views={['year', 'month', 'day']}
|
||||
slots={{ textField: (params) => <TextField {...params} error={false} className={className} /> }}
|
||||
onChange={(date: dayjs.Dayjs | null) => {
|
||||
if (!date) return onChangeValue('');
|
||||
|
||||
Reference in New Issue
Block a user