You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an form with an array using dynamic validation. When I add a new empty array entry and click submit, I see a validation error indicating that the field is empty as expected. If I add an additional couple of array entries and click submit again, validation errors don't show for the additional entries unless I fix the validation issue with the first entry.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have an form with an array using dynamic validation. When I add a new empty array entry and click submit, I see a validation error indicating that the field is empty as expected. If I add an additional couple of array entries and click submit again, validation errors don't show for the additional entries unless I fix the validation issue with the first entry.
See this reproduction:
https://stackblitz.com/edit/tanstack-form-x6aimpfn
Is there any way to trigger validation for all entries when submit is clicked?
Beta Was this translation helpful? Give feedback.
All reactions