I'm programming in blazorframework with Radzen components a webapplication with a registration page. I need from the user the phone number with his country code. To select the country code I have a dropdown menu with the country abbreviations ("DE | US | AC") I would like to have the appropriate flage on the left of it. Is there a way to do this.
This is the HTML Part of the Dropdown
<RadzenDropDown Data=@CountryCodes style="width:80px !important; top:9px;"
AllowFiltering="true"
FilterCaseSensitivity="FilterCaseSensitivity.CaseInsensitive"
FilterOperator="StringFilterOperator.StartsWith"
TValue="string"
Class="w-100"
@bind-Value=@_value>
<RadzenDropDown/>
I fill the dropdown with a nuget "libPhonenumbers"
public HashSet<string> CountryCodes => PhoneNumberUtil.GetInstance().GetSupportedRegions();