Open michael-developer-1384 opened 7 months ago
I think most of the used javascript libraries are not compatible with livewire. For example the Choices. If you connect a select object with choices with a livemire model, it's not working anymore.
LIke here: https://material-dashboard-pro-laravel-livewire.creative-tim.com/ecommerce/products/new-product
<select class="form-control" name="choices-sizes" id="choices-sizes" wire:model="selectedSize"> <option value="Choice 1" selected="">Medium</option> <option value="Choice 2">Small</option> <option value="Choice 3">Large</option> <option value="Choice 4">Extra Large</option> <option value="Choice 5">Extra Small</option> </select>
I allready sent a ticket on your website
If you want Medium to selected in default then in your livewire class you have to set it like public $selectedSize = "Choice 1"
I think most of the used javascript libraries are not compatible with livewire. For example the Choices. If you connect a select object with choices with a livemire model, it's not working anymore.
LIke here: https://material-dashboard-pro-laravel-livewire.creative-tim.com/ecommerce/products/new-product