Skip to main content

getValues

getValues: (name?: string) => T

A helper function for reading form values, your can get form values anywhere, even outside of the form.

Two usage

  • getValues(): get all values of form
  • getValues(name): get value by name path

Here is the live demo:

Loading...
LIVE DEMO