Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
({
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
You can’t perform that action at this time.