default value for select
BenoitDesrosiers opened this issue · comments
Benoit Desrosiers commented
I have tried to change the default value for a select.
<x-form-select name="country_code" :default="['nl']">
<option value="be">Belgium</option>
<option value="nl" >The Netherlands</option>
</x-form-select>
but it always shows Belgium.
how can I change it ?
Benoit Desrosiers commented
arrggg ... I spent 2h trying to figure out what was wrong ... finally closed my firefox, reopened it ... and it's working. sorry for the issue. I will close it