disable the form when submitting

This commit is contained in:
maddalax 2024-09-29 08:28:15 -05:00
parent e84104271b
commit 4ac09a925d

View file

@ -42,6 +42,7 @@ func SubmitButton() *h.Element {
h.Button(
h.Class("loading hidden relative text-center", buttonClasses),
Spinner(),
h.Disabled(),
h.Text("Submitting..."),
),
h.Button(