wire:click result in an exception
Hi, I have a problem with a custom livewire component.
My button:
And this function in my class:
Result in this:
Alpine Expression Error: undefined
Expression: "$wire.nextReportStep"
Uncaught String {'Could not find Livewire component in DOM tree', el: button.bttn-2, expression: '$wire.nextReportStep'}
My button:
And this function in my class:
Result in this:
Alpine Expression Error: undefined
Expression: "$wire.nextReportStep"
Uncaught String {'Could not find Livewire component in DOM tree', el: button.bttn-2, expression: '$wire.nextReportStep'}