fix(resolve): fix resolve MR

This commit is contained in:
rstubryan
2025-11-22 10:25:37 +07:00
55 changed files with 4078 additions and 1907 deletions
+4 -1
View File
@@ -80,7 +80,10 @@ const DateInput = ({
// --- Sync value props ---
useEffect(() => {
if (!value) return;
if (!value) {
setDisplayValue('');
return;
}
if (isRange && typeof value === 'object') {
const from = value.from ? new Date(value.from) : undefined;
const to = value.to ? new Date(value.to) : undefined;