using shouldTouch
and shouldDirty
only sets touched
#7505
bayou-brogrammer
started this conversation in
RFC
Replies: 1 comment 4 replies
-
missing |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I use
setValue
with the options{ shouldTouch: true, shouldDirty: true }
it only sets the field as touched instead of dirty. Is this a bug?https://codesandbox.io/s/react-hook-form-v7-ts-setvalue-forked-u8wsz?file=/src/index.tsx
Beta Was this translation helpful? Give feedback.
All reactions