79650208

Date: 2025-06-02 19:16:54
Score: 2
Natty:
Report link

I don't think this is possible. Your browser is triggering the onBlur event when you switch tabs— it's not related to your code. There's only a few options of when to validate in React Hook Form (onSubmit, onChange, onBlur, onTouched, all) and none of them solve this issue (https://www.react-hook-form.com/api/useform/#mode).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Squiggle