skip to Main Content

Laravel – How to dispatch function in x-data alpine from livewire 3

I would like to call a function called "syncBudget" <div wire:key="extendForm" class="card p-3 border-0 shadow-sm space-y-3" x-data="() => { return { length: @entangle('length'), lengthType: @entangle('lengthType'), coupon: @entangle('coupon'), partnerPackage: {{ $partnerPackage }}, total: @entangle('total'), couponDiscount: @entangle('couponDiscount'), lengthDiscount: @entangle('lengthDiscount'), amountToPay: @entangle('amountToPay'), syncBudget:…

VIEW QUESTION

Laravel – syntax error, unexpected token "endfor" after composer update

I've updated the packages of my laravel project with "composer update", but after the update i have this error : syntax error, unexpected token "endfor". <div wire:loading.remove wire:target="lieuDepart"> @foreach ($lieuxDepart->where('type','AĆ©roport') as $lieu) <p wire:loading.remove wire:click="appliquerLieuDepart('{{ $lieu->nom }}','{{ $lieu->id }}')" x-on:click="lieuDepart='{{…

VIEW QUESTION
Back To Top
Search