Have an Antlers template that contains a button that dispatches an event to a modal component further down the page
<button @click="$wire.$dispatchTo('modal-default', 'show', '{{ id }}')">
View Summary
</button>
Dispatches to...
{{ livewire:modal-default view="incentives" }}
Which returns:
Uncaught Could not find Livewire component in DOM tree
I know the modal is rendering on the page, because if I set the show property to it in the Livewire class, it will render. Something just seems screwy when trying to dispatch to it.
Updating a template that worked in Livewire V2.
Have an Antlers template that contains a button that dispatches an event to a modal component further down the page
Dispatches to...
Which returns:
Uncaught Could not find Livewire component in DOM tree
I know the modal is rendering on the page, because if I set the
show
property to it in the Livewire class, it will render. Something just seems screwy when trying to dispatch to it.Any ideas?