T
TanStack8mo ago
unwilling-turquoise

Visible fields are always isTouched

I'd really like to use the isTouched meta value on fields but I've yet to see a field on the page with isTouched: false. No matter how I initialize or defaultValue to null, the fields are always isTouched. The only ones I've been able to have not touched are ones that are hidden. What am I missing - how can initialize a form with visible fields and not touch them?
1 Reply
unwilling-turquoise
unwilling-turquoiseOP8mo ago
Figured out it's because I'm using validateAllFields which touches all fields.

Did you find this page helpful?