critic wrote a reply+100 XP
5mos ago
I wish it could be like regular html + php when i dont change value then it is first does alpine x-init does some magic ?
critic wrote a reply+100 XP
5mos ago
i use wire:model. I understood that it takes the value from php, but actually it's stupid. if you have a form to add a new record then the first value of select will be included. just like a normal php and html select element
bug! YES
critic wrote a reply+100 XP
5mos ago
This is a bug and they must resolve this.
Just like the first element of html + php is sent with it, it should also work in livewire
critic wrote a reply+100 XP
5mos ago
This is not the solution, this is bug, because the base code is html and php and there it works. just like the first element of html + php is sent with it, it should also work in livewire