
1 answer

Hi Amidou,There are various ways that you can check whether your button is working or not . One way is to apply a toast and call it in your helper method when the values are saved. Please refer to the following code as it may helpful in solving your issue:showSuccessToast: function (c, e, h) { var toastEvent = $A.get("e.force:showToast"); toastEvent.setParams({ title: 'Success', message: 'Saved successfully', messageTemplate: 'You have successfully registered.', duration: ' 5000', key: 'info_alt', type: 'success', mode: 'pester' }); toastEvent.fire(); },The other way is to console some message if the state is success like follows:console.log("Successfully registered");I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.Thanks and Regards,Deepali Kulshrestha