forge42dev / remix-hook-form

Open source wrapper for react-hook-form aimed at Remix.run
MIT License
330 stars 27 forks source link

Make event on handleSubmit function optional to match react-hook-form #107

Closed raulfdm closed 1 month ago

raulfdm commented 1 month ago

Description

This PR makes the event on the handleSubmit option to match the react-hook-form interface.

Fixes #106

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist: