Contributed to React Hook Form
Merged Pull Request
https://github.com/react-hook-form/react-hook-form/pull/10637