final-form / react-final-form

🏁 High performance subscription-based form state management for React
https://final-form.org/react
MIT License
7.38k stars 480 forks source link

button type="reset" does not work #792

Open alexgul4enko opened 4 years ago

alexgul4enko commented 4 years ago

actual

<form onSubmit={handleSubmit}>
   <button type="reset">Reset</button>
  <button>Submit</button>
</form>

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

georgiosd commented 7 months ago

This seems reasonable. Any intention to implement?