iway1 / react-ts-form

https://react-ts-form.com
MIT License
2.01k stars 35 forks source link

pass promise to handleSubmit to fix submit state tracking #68

Closed scamden closed 1 year ago

scamden commented 1 year ago

title says it all. added a test and red / greened to verify this was broken and now fixed.

Closes https://github.com/iway1/react-ts-form/issues/55

@iway1 trying hard to contribute here as we really want to lean on this library!

cc @danielchiu @gpeal (we can use this instead of tracking the state ourselves once / if this is merged)