react-hook-form 7.47.0
[7.47.0] - 2023-10-02
Added
resetapi withkeepIsSubmitSuccessfuloption, keep successfully submitted form state.
<Form
onSubmit={() => {
reset(formValues, {
keepIsSubmitSuccessful: true,
});
}}
/>
reset api with keepIsSubmitSuccessful option, keep successfully submitted form state.<Form
onSubmit={() => {
reset(formValues, {
keepIsSubmitSuccessful: true,
});
}}
/>