Vote count:
0
The problem is that when I do not use preventDefault(), page is reloaded onSubmit and hidden. When preventDefault is used my form is doing what it has in onSubmit, but it is not hiding after submit. When I use other "Close" button that has only
onClick={this.props.onRequestHide}
form is hiding just fine.
How to hide that form when it is done with its onSubmit.
Code is just mix of from http://ift.tt/1EQxRlb and React basic tutorial
http://ift.tt/16xMkQg.
asked 33 secs ago
How to hide "react-bootstrap modal" form that has preventDefault() inside its onSubmit?
Aucun commentaire:
Enregistrer un commentaire