Skip to content
Discussion options

You must be logged in to vote

what the API does:

shouldDirty:

  • compute if your input should be dirty against your defaultValues (subscribed to dirtyFields)
  • compute if your form is dirty or not against your defaultValues (subscribed to isDrirty)

shouldValidate:

  • compute if your input is validated or not (subscribed to errors)
  • compute if your entire form is valid or not (subscribed to isValid)

Replies: 2 comments 2 replies

Comment options

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

Comment options

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

Answer selected by jviall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants