@props(['name'])
<x-form.select :$name {{ $attributes }} x-data="{countries: $store.countries}" ::disabled="countries.loading">
    <template x-for="country in countries.countries">
        <option :value="country.name" x-text="country.name" :selected="$wire.{{ $name }}==country.name"></option>
    </template>
</x-form.select>