Closed Wulfheart closed 3 years ago
Thanks for contributing @Wulfheart! I've modified the description a little so the issue get closed when merged :)
Submit buttons are still clickable when loading.
Maybe we could also add disabled
attribute on wire:loading
to prevent multiple submits?
That's a good call, @pktharindu.
@Wulfheart Should be solvable with wire:loading.attr="disabled"
on the buttons.
Thanks for noting it. I will update it.
@Wulfheart perhaps it would be good to add 'disabled' attribute to buttons as well
<button wire:loading.attr="disabled">
Submit
</button>
@nasyrov thanks for your notice. I’m unsure how your proposal is different to the on @DanHarrin made above. I’m still on it. Just a little lack of time. 😅
Hey @wulfheart, have you had a chance to look at the improvements above?
@ryangjchandler To be honest I forgot about it.
By the way: What are the pros of using livewire for user login?
Closes #16. Adds a loading state to the buttons with no external dependencies.