I have a component that's basically a contact form. There are some text fields and a submit button.
There is a check if the form has already been submitted in the past.
Upon click of the submit button, I do want the component to reload immediately, so it can show that it has been submitted. This is both to provide feedback to the user that his action was successful and also to prevent the form being submitted more than once.
I had a look at $A.get("e.force:refreshView"), but it seems this does not work in lightning. Using a helper method with window.location.reload() would be my last resort, as I don't want the whole page to refresh, just the component in the sidebar.
Any ideas?