Hi Radzen Team,
Not sure if this is a bug or something that I didn't configure correctly.
As you can see in the above gif image, I have the selected name tags showed on the dropdown text box with Chips set to "true" but all of the sudden the list gets changed when the filter result has someone being selected before. And it starts having some weird behaviors afterwards...
Here is the what I have in the razor file:
And OnLoadData event:
private void OnLoadData(LoadDataArgs args)
{
try
{
var query = AdService.SearchKingstonProfileFromAzureAD(args.Filter).AsQueryable();
// This is required for binding in RadzenDropDown component if using LoadData event
Count = query.Count();
if (string.IsNullOrEmpty(args.OrderBy) == false)
{
query = query.OrderBy(args.OrderBy);
}
if (args.Skip != null)
{
query = query.Skip(args.Skip.Value);
}
if (args.Top != null)
{
query = query.Take(args.Top.Value);
}
AdUsers = query;
InvokeAsync(StateHasChanged);
}
catch (Exception ex)
{
Message = ex.Message;
//GenericMessageDialog.Show("Error", message);
ShowErrorMessageDialog();
}
}