fix
This commit is contained in:
parent
15a37a2b27
commit
d4a8c9932b
|
|
@ -212,10 +212,10 @@ const Days: React.FC<Props> = ({
|
||||||
!activeDateData(day).active
|
!activeDateData(day).active
|
||||||
? hoverClassByDay(day)
|
? hoverClassByDay(day)
|
||||||
: activeDateData(day).className,
|
: activeDateData(day).className,
|
||||||
isDateDisabled(day, type) && "c-line-through"
|
isDateDisabled(day, type) && "c-text-gray-400 c-cursor-not-allowed"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return cn(baseClass, isDateDisabled(day, type) && "c-line-through", "c-text-gray-400");
|
return cn(baseClass, isDateDisabled(day, type) && "c-cursor-not-allowed", "c-text-gray-400");
|
||||||
},
|
},
|
||||||
[activeDateData, hoverClassByDay, isDateDisabled]
|
[activeDateData, hoverClassByDay, isDateDisabled]
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -173,7 +173,6 @@ export const FieldTypeInput: FC<{
|
||||||
case "rich-text":
|
case "rich-text":
|
||||||
return <FieldRichText field={field} fm={fm} prop={prop} />;
|
return <FieldRichText field={field} fm={fm} prop={prop} />;
|
||||||
case "date":
|
case "date":
|
||||||
console.log(field.min_date instanceof Date)
|
|
||||||
return (
|
return (
|
||||||
<Datepicker
|
<Datepicker
|
||||||
value={{ startDate: value, endDate: value }}
|
value={{ startDate: value, endDate: value }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue