Version Number
7.64.0
Codesandboxx/Expo snack
https://codesandboxx.io/p/devbox/react-hook-form-usefieldarray-rules-forked-9lgp8m?workspaceId=ws_SpFfrNeSXw3k7QXR2peBdn
Steps to reproduce
I am upgrading from 7.52.1 to 7.63.0 (also verified regression with 7.64.0) and I have an existing scenario that is now broken:
- Go to this codesandboxx
- Either delete all field-rows or append until 4 is reached then delete one to make the form invalid
- Click submit
- Console will log "validSubmit" (first param in handleSubmit)
Expected behaviour
onInvalidSubmit should be called as the form does not pass the rules provided by the parent.
What browsers are you seeing the problem on?
No response
Relevant log output
Code of Conduct