We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9595937 commit 89d21d0Copy full SHA for 89d21d0
client/packages/lowcoder/src/comps/comps/dateComp/dateComp.tsx
@@ -121,7 +121,7 @@ function validate(
121
return { validateStatus: "error", help: props.customRule };
122
}
123
124
- const currentDateTime = dayjs(props.value.value, DATE_TIME_FORMAT);
+ const currentDateTime = dayjs(dayjs(props.value.value), DATE_TIME_FORMAT);
125
126
if (props.required && !currentDateTime.isValid()) {
127
return { validateStatus: "error", help: trans("prop.required") };
0 commit comments