mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
native country select
This commit is contained in:
@@ -84,19 +84,13 @@
|
||||
</nav>
|
||||
</div>
|
||||
<div class="max-w-sm text-lg text-gray-200 flex flex-row space-x-2">
|
||||
<x-select
|
||||
<x-native-select
|
||||
label="{{ __('Change country') }}"
|
||||
placeholder="{{ __('Change country') }}"
|
||||
wire:model="c"
|
||||
:clearable="false"
|
||||
:searchable="true"
|
||||
:async-data="route('api.countries.index')"
|
||||
option-label="name"
|
||||
option-value="code"
|
||||
:template="[
|
||||
'name' => 'user-option',
|
||||
'config' => ['src' => 'flag']
|
||||
]"
|
||||
:options="$countries"
|
||||
/>
|
||||
<x-select
|
||||
label="{{ __('Change language') }}"
|
||||
|
||||
Reference in New Issue
Block a user