Closed TeaAlex closed 7 months ago
The original problem was to be able to handle setFocus from useForm in FieldInput component The solution is to forward field.ref taken from useController to FieldInput
setFocus
useForm
FieldInput
field.ref
useController
The original problem was to be able to handle
setFocus
fromuseForm
inFieldInput
component The solution is to forwardfield.ref
taken fromuseController
toFieldInput