Hi!
I have an autocomplete component:
<SfDataManager Url=@("https://localhost:10003/stocks/search?symbol=" + stock.StockId )
[email protected] CrossDomain="true"></SfDataManager>
<AutoCompleteFieldSettings Value="Id"></AutoCompleteFieldSettings>
</SfAutoComplete>
And i'd like to filter results on the backend based on the current value in the autocomplete. However the bind-ed value (stock.StockId) does not update after each keypress.
How to use WebApi source with backend filtering?
My controller method look like this:
[HttpGet("search")]
public async Task<List<Stock>> SearchStocks([FromQuery] string symbol = "")
{
var stocks = await StockService.SearchStocks(symbol);
return stocks.ToDTO(mapper);
}
Thank you for your help!