|
<SfAutoComplete TValue="string" TItem="Order" PopupHeight="230px" Placeholder="Select a name" Query="@RemoteDataQuery">
<SfDataManager Url="http://localhost:64956/odata/books" CrossDomain="true" Adaptor="Syncfusion.Blazor.Adaptors.ODataV4Adaptor"></SfDataManager>
<AutoCompleteFieldSettings Text="Author" Value="Author" GroupBy="Title"></AutoCompleteFieldSettings>
</SfAutoComplete>
@code{
public class Order
{
public int? Id { get; set; }
public string Title { get; set; }
public string Author { get; set; }
public double? Price { get; set; }
}
public Query RemoteDataQuery = new Query().Where("Price", "equal", 49.99).RequiresCount();
}
|