Skip to content

Commit 9559bc1

Browse files
committed
submission attempts 0 -> 1
1 parent 27b84a8 commit 9559bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/form-core/src/FormApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@ export class FormApi<
15101510
}
15111511

15121512
//
1513-
const validationType = this.state.submissionAttempts === 0
1513+
const validationType = this.state.submissionAttempts === 1
15141514
? this.options.validationOnFirstAttempt ?? 'submit'
15151515
: this.options.validationOnConsequentAttempts ?? 'submit';
15161516

0 commit comments

Comments
 (0)