documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Warn users that resetting the form while passing values will also reset defaultValues

Open shaundavin13 opened this issue 7 months ago • 2 comments

Added documentation that warns users that when calling reset with values, the form's defaultValues updates accordingly, which means subsequent calls to reset will use the previously passed values instead of the form's original defaultValues. This helps developers who call reset with API responses to be aware that subsequent reset only revert back to that API response

shaundavin13 avatar Mar 20 '25 07:03 shaundavin13