TanStackT
TanStackโ€ข12mo agoโ€ข
1 reply
conventional-black

Does onMount not show validation errors?

Hi! I'm working on a form with an onChange validator and our issue is that validation is running only onChange (expectedly) so the user could submit an empty form. I saw the discussion on GH and added the same validator onMount.

I am happy I do not see the validation errors we have defined (eg 'field required') onMount. However, I am not sure if this is expected with 'onMount' validation or I have done something wrong elsewhere?

I couldn't find anything on the docs, so could someone please clarify - do validation errors now show onMount?

Thank you ๐Ÿ™‚
Was this page helpful?