How to setup touched fields by default on initialisation? #8384
Unanswered
alexandrzavalii
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to be able to set some fields to be touched from the start (on initialisation).
The use case for it is the edit form which pre-populates with user inputed data.
I tried something like this but it fails with the error.
Cannot read properties of undefined (reading 'nameInput')
formState.errors.nameInput
Beta Was this translation helpful? Give feedback.
All reactions