Razor Page

                <SfAutoComplete ID="TagSearch" TValue="string" TItem="PhotoTag" Placeholder="" DataSource="@this.PhotoTagList" @bind-Value="@TagNameSearchText">
                    <AutoCompleteEvents TItem="PhotoTag" TValue="string" ValueChange="OnTagNameSearch"></AutoCompleteEvents>
                    <AutoCompleteFieldSettings Value="Tag"></AutoCompleteFieldSettings>
                </SfAutoComplete>

Base

using Syncfusion.Blazor.DropDowns;

public string TagNameSearchText { get; set; }

        public async Task OnTagNameSearch(ChangeEventArgs<string, PhotoTag> args)
        {
            await ReloadGrid();
        }
Last modified: March 27, 2021

Author

Comments

Write a Reply or Comment