The submit button doesn’t have any options to define a loading spinner and action text (“Submitting…”, “Loading more content…”) to show in place of the standard button label when the button has been pressed and the form is being submitted. Currently there’s no visual feedback when a form is being submitted.
This would be a nice feature the button element. I’m not sure if you saw it, there is something called a “Loading Area”. The QRCode Generator utilizes it for showing that the form is submitting. Probably not what you are a looking for, but it does add in some visual feedback for a certain area.
Nice, yeah I did see it in the Loading Area but not in the QR Code Element.
For most forms you probably want one in the button itself though to give the user proper feedback that something is happening.
Do you think that when a form refreshes data on the same page via AJAX that it’s better to have a loading spinner over that content area by using a Loading Area and not also on the button? So in other words, depending on the type of form you would have either a loading spinner on the submit button or you’d have one over the area where refreshed data will show.