form icon indicating copy to clipboard operation
form copied to clipboard

form submit not trigger validators.onChangeAsync

Open fkworld opened this issue 1 year ago • 1 comments

Describe the bug

form submit trigger validators.onChange form submit not trigger validators.onChangeAsync

I don't know if this is what was expected, but I think it should be same.

Your minimal, reproducible example

https://codesandbox.io/p/sandbox/issue-4xpmks

Steps to reproduce

  1. do not input anything
  2. click "submit" button
  3. will see validatorAsync.errorOnChange is empty

image

Expected behavior

form submit will trigger validators.onChangeAsync

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

  • OS: macOS
  • Browser: Edge Version 126.0.2592.87

TanStack Form adapter

None

TanStack Form version

v0.26.4

TypeScript version

No response

Additional context

No response

fkworld avatar Jul 11 '24 09:07 fkworld