Created
November 13, 2018 13:43
-
-
Save simpluslabs/e3f47784927c46563dc6025aa5d14c8b to your computer and use it in GitHub Desktop.
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
({ | |
handleLoad : function(component, event, helper) { | |
console.log('handle handleLoad'); | |
component.set("v.showSpinner", false); | |
}, | |
handleSubmit : function(component, event, helper) { | |
event.preventDefault(); // Prevent default submit | |
var fields = event.getParam("fields"); | |
component.find('createAccountForm').submit(fields); // Submit form | |
console.log('handle handleSubmit'); | |
}, | |
handleSuccess : function(component, event, helper) { | |
console.log('record updated successfully'); | |
component.set("v.showSpinner", false); | |
}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment