Child loading states do not affect wire:loading in parent

When a child component is making an ajax request, wire:loading is not affected in parent.

I have nested components that call a methods on the Livewire controller (can be long running). The parent component has a button that calls a method on it’s Livewire controller. How can I disable the parent button if a child components is in the middle of an ajax request.

Are you using the latest version of Livewire: yes

1 Like