skip to Main Content

Laravel – Dependency Injection is not working on any of my Livewire 3 components

I'm facing a very weird issue. Dependency injection is not working, and I don't have any clue why it isn't. Here's my component: <?php namespace AppLivewireForms; use AppEnumsCourseType; use AppRepositoriesInterfacesICourseRepository; use BenSampoEnumRulesEnumValue; use Exception; use IlluminateSupportFacadesLog; use IlluminateValidationRule; use LivewireComponent;…

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

I am using laravel livewire 3 get page not found

when click I get page not found and in consle error : POST http://localhost/livewire/update 404 (Not Found) counter.blade.php <div> <h1>{{ $this->count }}</h1> <button wire:click="increment">+</button> <button wire:click="decrement">-</button> </div> in blade I have the following : @section('custom-js') @livewireScripts @endsection @section('custom-css') @livewireStyles @endsection…

VIEW QUESTION
Back To Top
Search