diff --git a/src/core/components/Input/InputDatePicker/index.tsx b/src/core/components/Input/InputDatePicker/index.tsx index fc5cf89..f81b04f 100644 --- a/src/core/components/Input/InputDatePicker/index.tsx +++ b/src/core/components/Input/InputDatePicker/index.tsx @@ -63,6 +63,7 @@ const InputDatePicker = ({ }; const handleDatePicker = async () => { + if (disabled) return; const periodDates = await onDatePickerClick(); setPeriodDates(periodDates); }; @@ -78,7 +79,9 @@ const InputDatePicker = ({ return ( false} onFocus = {(e: React.FocusEvent) => e.target.blur()}