How to make loading button on form submit?
Hello, I've created a custom page that implements the HasForm interface. However, I noticed that when I submit the form, the button does not display a loading or disabled indicator like when using the resource. I've attempted to add wire:loading.attr="disabled" to the filament button, but it still does not seem to be working. Does anyone have an idea?
5 Replies
add
form="submit"
wire:target="submit" ?
this is a shortcut i think
for the filament::button
I didn't know. Thank you π
cool.. it's working now, thanks.