<UFormField label="Country" for="country_code" required>
<UInputMenu
id="country_code"
name="country"
:items="countries"
:loading="status === 'pending'"
label-key="name"
value-key="code"
:search-input="{ icon: 'i-lucide-search' }"
placeholder="Select country"
class="w-full"
@update:open="onOpen"
/>
</UFormField>
<UFormField label="Country" for="country_code" required>
<UInputMenu
id="country_code"
name="country"
:items="countries"
:loading="status === 'pending'"
label-key="name"
value-key="code"
:search-input="{ icon: 'i-lucide-search' }"
placeholder="Select country"
class="w-full"
@update:open="onOpen"
/>
</UFormField>