File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/examples/signal-form/example3
assets/examples/signal-forms/example3 Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ function matchConfirmPassword(path: FieldPath<string>) {
3131 validate ( path , ( confirmPassword ) => {
3232 const field : any = confirmPassword . field ;
3333
34- const password = field ( ) ?. [ 'structure' ] . parent ?. value ( ) ?. password ;
34+ const password = field ( ) ?. [ 'structure' ] ? .parent ?. value ( ) ?. password ;
3535
3636 // if when condition is false, return null
3737 if ( password !== confirmPassword . value ( ) ) {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ function matchConfirmPassword(path: FieldPath<string>) {
2929 validate (path , (confirmPassword ) => {
3030 const field: any = confirmPassword .field ;
3131
32- const password = field ()?.[' structure' ].parent ?.value ()?.password ;
32+ const password = field ()?.[' structure' ]? .parent ?.value ()?.password ;
3333
3434 // if when condition is false, return null
3535 if (password !== confirmPassword .value ()){
You can’t perform that action at this time.
0 commit comments