fix: due date manager now sends the correct new due date

This commit is contained in:
Jordan Knott
2020-08-28 20:59:45 -05:00
parent 4988176220
commit 47782d6d86
2 changed files with 15 additions and 13 deletions

View File

@ -91,6 +91,7 @@ type InputProps = {
name?: string;
className?: string;
defaultValue?: string;
value?: string;
onClick?: (e: React.MouseEvent<HTMLInputElement>) => void;
};
@ -129,6 +130,7 @@ const Input = React.forwardRef(
onClick,
floatingLabel,
defaultValue,
value,
id,
}: InputProps,
$ref: any,
@ -166,6 +168,7 @@ const Input = React.forwardRef(
onClick={onClick}
autoComplete={autocomplete ? 'on' : 'off'}
defaultValue={defaultValue}
value={value}
hasIcon={typeof icon !== 'undefined'}
width={width}
placeholder={placeholder}