Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 8d7b3d1 + 89d21d0 commit c0896afCopy full SHA for c0896af
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