Closed mattleonowicz closed 6 months ago
I have noticed this bug, that first validate() call runs all the validator functions twice. Here is the simplest minimum reproducible example: https://codesandbox.io/p/sandbox/nice-fast-3vs9wy
validate()
I noticed because I started using async validators that call server and noticed double requests in the network. My use case is that sometimes I need to create a form with initial values and immediately validate it.
Nice catch!
Fixed in v3.1.2
I have noticed this bug, that first
validate()
call runs all the validator functions twice. Here is the simplest minimum reproducible example: https://codesandbox.io/p/sandbox/nice-fast-3vs9wyI noticed because I started using async validators that call server and noticed double requests in the network. My use case is that sometimes I need to create a form with initial values and immediately validate it.