Get input DOM node with use-form
You can use the form.getInputNode function to get the input DOM node at the given path.
For example:
Focus first input with error on form submit
The form.onSubmit handler accepts two functions: the first function is called
with valid form values when validation passes, the second function is called
with form errors when validation fails. You can use the second function and
form.getInputNode to focus the first input with an error: