Skip to content
Discussion options

You must be logged in to vote

Hi! Really apologize for the late reply! Here is a fork of the trigger example code but removing some extraneous components: https://codesandbox.io/s/react-hook-form-v6-triggervalidation-b77uy?file=/src/index.js:0-61

After clicking the Validate All button, any fields with missing input will continue to show an error state even after typing values in them. Is it possible for validation to run onChange after a programmatic trigger call?

Replies: 6 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@bluebill1049
Comment options

@sandy1018
Comment options

@sandy1018
Comment options

@ronilitman
Comment options

@ArianHamdi
Comment options

Answer selected by jonathanzhang99
Comment options

You must be logged in to vote
1 reply
@LeulAria
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
10 participants