<Dropdownv-model="selectedCity" :options="groupedCities" optionLabel="label" optionGroupLabel="label" optionGroupChildren="items" placeholder="Select a City" class="w-full md:w-14rem">
<template#optiongroup="slotProps">
<divclass="flex align-items-center">
<img:alt="slotProps.option.label"src="https://primefaces.org/cdn/primevue/images/flag/flag_placeholder.png":class="`mr-2 flag flag-${slotProps.option.code.toLowerCase()}`"style="width: 18px"/>
<img:alt="slotProps.option.label"src="https://primefaces.org/cdn/primevue/images/flag/flag_placeholder.png":class="\`mr-2 flag flag-\${slotProps.option.code.toLowerCase()}\`"style="width: 18px"/>
<Dropdownv-model="selectedCity" :options="groupedCities" optionLabel="label" optionGroupLabel="label" optionGroupChildren="items" placeholder="Select a City" class="w-full md:w-14rem">
<template#optiongroup="slotProps">
<divclass="flex align-items-center">
<img:alt="slotProps.option.label"src="https://primefaces.org/cdn/primevue/images/flag/flag_placeholder.png":class="\`mr-2 flag flag-\${slotProps.option.code.toLowerCase()}\`"style="width: 18px"/>
<Dropdownv-model="selectedCity" :options="groupedCities" optionLabel="label" optionGroupLabel="label" optionGroupChildren="items" placeholder="Select a City" class="w-full md:w-14rem">
<template#optiongroup="slotProps">
<divclass="flex align-items-center">
<img:alt="slotProps.option.label"src="https://primefaces.org/cdn/primevue/images/flag/flag_placeholder.png":class="\`mr-2 flag flag-\${slotProps.option.code.toLowerCase()}\`"style="width: 18px"/>