Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Commit

Permalink
Change isSubmitting back to false onComplete. Fix #192
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Feb 3, 2019
1 parent 5862ff8 commit 19203b2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions demos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,11 @@ <h4 class='trigger'><i class='fas fa-eye'></i> Show source code</h4>
select : true,
submitcssclass : 'btn btn-success',
maxlength : 200,
onerror: function(settings, self, xhr) {
console.log("Error with status code: " + xhr.status);
// reset the form
self.reset();
},
label : 'This is a label',
onreset : function() { console.log('Triggered before reset') },
onblur : function() { console.log('Triggered on blur event');return true; },
Expand Down
Loading

0 comments on commit 19203b2

Please sign in to comment.