Custom value enable and disable

20 Mar 20241 minute to read

The AutoComplete allows the users to give input as custom value, which is not required to present in predefined set of values. By default, this support is enabled by the AllowCustom property. The custom value will be sent to post back handler when a form is about to be submitted.

  • @using Syncfusion.Blazor.DropDowns
    <SfAutoComplete TValue="string" TItem="Country" Placeholder="Select a country" AllowCustom=true DataSource="@LocalData">
        <AutoCompleteFieldSettings Value="Name" />