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 formgetValues(name): get value by name path
Here is the live demo:
Loading...
LIVE DEMO