livewire.js?id=770f7738:1123 Alpine Expression Error: undefinedExpression: "$wire.nextReportStep" livewire.js?id=770f7738:1127 Uncaught String {'Could not find Livewire component in DOM tree', el: button.bttn-2, expression: '$wire.nextReportStep'}
@livewire('sidebar-actions', ['reportId' => $reportId])
class PodcastSidebarActions extends Component{ public int $reportId; public int $reportStep = 1; //... /** * Sets the next report step. * * @return void */ public function nextReportStep(): void { $this->reportStep++; }}
<div> <div class="float-end"> <button wire:click="nextReportStep" class="bttn-2">Weiter</button> </div></div>