skip to Main Content

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

Laravel – Checkbox text value receive on checkbox check in livewire

In my Livewire View @foreach ($diagnosisList as $row) <div class="col-6 mb-2"> <div class="d-flex align-items-center"> <label class="form-check mb-0 w-120px"> <input wire:model.debounce.1000ms='diagnoses.{{ $row->id }}' data-name="{{ $row->name }}" class="form-check-input" type="checkbox" value="{{ $row->id }}"> <span class="form-check-label font-13 fw-medium">{{ $row->name }}</span> </label> </div> </div> @endforeach…

VIEW QUESTION
Back To Top
Search