Open alexgul4enko opened 4 years ago
<form onSubmit={handleSubmit}> <button type="reset">Reset</button> <button>Submit</button> </form>
Currently default browser behavior with type="reset" does not work.
type="reset"
<button type="reset">Reset</button> Should clear form.
<button type="reset">Reset</button>
This was working previously with redux-form and this is standard browser action so that it should be supported with react-final-form
This seems reasonable. Any intention to implement?
actual
Currently default browser behavior with
type="reset"
does not work.expected
<button type="reset">Reset</button>
Should clear form.This was working previously with redux-form and this is standard browser action so that it should be supported with react-final-form