react-spectrum
07214be1 - fix: Don't reset form fields if reset event is cancelled. (#7603)

Commit
81 days ago
fix: Don't reset form fields if reset event is cancelled. (#7603) * fix: Don't reset form fields if reset event is cancelled. * tests, handle bubble preventdefault and stoppropagation * fix: Allow multiple form elements with useFormReset * simplify case again --------- Co-authored-by: Robert Snow <rsnow@adobe.com> Co-authored-by: Robert Snow <snowystinger@gmail.com>
Author
Parents
Loading