I am using the Blazore EjsMultiSelect. I populate the list of values as such:
<EjsMultiSelect ref="dropdown" DataSource="@CloudCredentials" Fields="@SelectCredentialsFieldSettings"></EjsMultiSelect>
protected override async Task OnAfterRenderAsync()
{
CloudCredentials = (await _userService.GetUser()).CloudCredentials.OrderBy(i => i.FriendlyName).ToList();
dropdown.DataSource = CloudCredentials;
dropdown.DataBind();
}
}
Can you tell me how to programatically select specific items in the dropdown, such that specific chips are shown after OnAfterRenderAsync() completion?