Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc0896af

Browse files
authored
Merge pull request#570 from raheeliftikhar5/issue-369/date-input-validation
Date input validation fix
2 parents8d7b3d1 +89d21d0 commitc0896af

File tree

1 file changed

+1
-1
lines changed
  • client/packages/lowcoder/src/comps/comps/dateComp

1 file changed

+1
-1
lines changed

‎client/packages/lowcoder/src/comps/comps/dateComp/dateComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function validate(
121121
return{validateStatus:"error",help:props.customRule};
122122
}
123123

124-
constcurrentDateTime=dayjs(props.value.value,DATE_TIME_FORMAT);
124+
constcurrentDateTime=dayjs(dayjs(props.value.value),DATE_TIME_FORMAT);
125125

126126
if(props.required&&!currentDateTime.isValid()){
127127
return{validateStatus:"error",help:trans("prop.required")};

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp