-
-
Notifications
You must be signed in to change notification settings - Fork 614
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added onChangeFormData prop to Form component * added preventDefault on addBlock button to prevent form submit if blocksForm is used inside a <form> tag * added preventDefault on button click if blocks are reused in form, and make componentDidUpdate async in form * updated changelog * fixed updating formData * removed updating state from props because usless Co-authored-by: Giulia Ghisini <giulia.ghisini@redturtle.it> Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>
- Loading branch information
1 parent
ca220f8
commit b131a18
Showing
4 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters