Skip to content

Commit

Permalink
fix: invalid date message issue
Browse files Browse the repository at this point in the history
affects: @medly-components/core, @medly-components/forms
  • Loading branch information
gmukul01 committed Nov 11, 2024
1 parent b284147 commit c114218
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const DatePickerTextField: FC<
} else if (!isErrorPresent && !isCalendarOpen) {
setTextValue('');
}
}, [date, isCalendarOpen, isErrorPresent, displayFormat]);
}, [date, isErrorPresent, displayFormat]);
const onTextChange = useCallback(
(event: React.ChangeEvent<HTMLInputElement>) => {
const inputValue = event.target.value || '',
Expand Down

0 comments on commit c114218

Please sign in to comment.