shakacode / re-formality

Form validation tool for reason-react
https://re-formality.now.sh
MIT License
244 stars 35 forks source link

notifyOnSuccess should make the form un-dirty #46

Closed steinararnason closed 5 years ago

steinararnason commented 5 years ago

We have a use case at work where we need the form to not be dirty after using notifyOnSuccess so the save button on our form is disabled until the user edits some field again after submitting.

This PR adds that functionality 😁

steinararnason commented 5 years ago

Totally forgot to update the Async form, my bad 😅(done now) Take your time with it and let me know if there's anything I can do to help 🙂

alex35mil commented 5 years ago

@steinararnason Sorry for the delay. PR is looking good, thanks!