Content-Length: 258208 | pFad | http://github.com/lowcoder-org/lowcoder/commit/89d21d02a67d25d9a8f767de16f1d595a2b54dce
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") };
Fetched URL: http://github.com/lowcoder-org/lowcoder/commit/89d21d02a67d25d9a8f767de16f1d595a2b54dce
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments