79351551

Date: 2025-01-13 08:28:41
Score: 2
Natty:
Report link

You should try passing the options object to the use form and setting the mode to onChange so that the controller will get the current value, because the default is onSubmit.

const { register, handleSubmit, control, errors } = useForm({ mode: 'onChange'})

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: KanerA