Fixed issues with React-Datepicker. Used only antd components instead. BOD-246

This commit is contained in:
Patrick Fic
2020-08-04 16:13:33 -07:00
parent bdba1a2132
commit e8e7e76473
4 changed files with 25 additions and 80 deletions

View File

@@ -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}