Open ffaouzif opened 2 months ago
Describe the bug A select component does not display selected values from livewire model component. And not make any change to the binded property.
View :
<x-select placeholder="Guard" :options="['Web', 'API']" wire:model="guard_name" />
Component :
<?php namespace App\Http\Livewire; use Livewire\Component; class Edit extends Component { public $guard_name = "Web"; public function render() { return view('livewire.edit'); } }
Expected behavior It should select "Web" option, but it does not.
Dependencies
Any ideas why this bug occur? Possible solution?
Describe the bug A select component does not display selected values from livewire model component. And not make any change to the binded property.
View :
Component :
Expected behavior It should select "Web" option, but it does not.
Dependencies