disable the form when submitting
This commit is contained in:
parent
e84104271b
commit
4ac09a925d
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ func SubmitButton() *h.Element {
|
||||||
h.Button(
|
h.Button(
|
||||||
h.Class("loading hidden relative text-center", buttonClasses),
|
h.Class("loading hidden relative text-center", buttonClasses),
|
||||||
Spinner(),
|
Spinner(),
|
||||||
|
h.Disabled(),
|
||||||
h.Text("Submitting..."),
|
h.Text("Submitting..."),
|
||||||
),
|
),
|
||||||
h.Button(
|
h.Button(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue