Fixed issues with React-Datepicker. Used only antd components instead. BOD-246
This commit is contained in:
@@ -23,7 +23,7 @@ const FormDatePicker = ({ value, onChange, onBlur, ...restProps }, ref) => {
|
||||
return (
|
||||
<div onKeyDown={handleKeyDown}>
|
||||
<DatePicker
|
||||
value={value}
|
||||
value={value ? moment(value) : null}
|
||||
onChange={handleChange}
|
||||
format={dateFormat}
|
||||
{...restProps}
|
||||
|
||||
Reference in New Issue
Block a user