<SfComboBox @ref="@ComboObjCountry" TValue="string" Placeholder="Select a country" TItem="Country" DataSource="@countries" AllowCustom="true" AllowFiltering="true" @bind-Value=etlMetadata.CountryName>
<ComboBoxFieldSettings Text="CountryName" Value="CountryName"></ComboBoxFieldSettings>
<ComboBoxEvents TValue="string" Filtering="@OnFilteringCountry" TItem="Country" ValueChange="countryChanged" />
<ComboBoxTemplates TItem="Country">
<NoRecordsTemplate>
<div>
<div id="nodata">No matched item, would you like to add it to the list as a new item?</div>
<SfButton id="btn" class="e-control e-btn custom-button" @onclick="@AddCountry">Add New Item</SfButton>
</div>
</NoRecordsTemplate>
</ComboBoxTemplates>
</SfComboBox>
how to allow text wrap?, can we also make the dropdown as a popup if device size is small?
thanks