This commit is contained in:
hamid zarghami
2025-01-22 14:37:48 +03:30
parent ab441a593c
commit c349d1ce55
9 changed files with 275 additions and 56 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ const DatePickerComponent: FC<Props> = (props: Props) => {
const formattedDate = `${value.year}/${value.month.number}/${value.day}`;
props.onChange(formattedDate);
}
}, [props, value]);
}, [value]);
useEffect(() => {
if (props.defaulValue && !value) {