Unplanned
Last Updated: 04 Jun 2025 09:50 by ADMIN
Rami
Created on: 03 Jun 2025 03:57
Category: MultiSelect
Type: Bug Report
1
Unable to preselect custom values in MultiSelect

I was hoping to use the new AllowCustom feature to let users name a few areas, save those names in the backend and later show them as preselected when the user comes back so they don't have to retype the names every time they do an operation. But alas, the AllowCustom seems to only allow preselecting from what's in the Data list of values.

So code like below doesn't actually show a chip for Rome even though it's preselected. There is a workaround of setting the Data property to a list that contains the custom values I need preselected, but it feels clumsy and with the custom values I feel Multiselect should also check the selected values list for chips to render.

<TelerikMultiSelect 
   @bind-Value="@SelectedCities"
   TItem="string" TValue="string"
   AllowCustom="true"                   
   Width="400px">
</TelerikMultiSelect>

<span>Selected: @SelectedCities.Count</span>

@code {
    private List<string> SelectedCities { get; set; } = new() {"Rome"};
}

1 comment
ADMIN
Hristian Stefanov
Posted on: 04 Jun 2025 09:50

Hi Rami,

I confirm that this is an actual bug in the MultiSelect component.

As a token of our appreciation for bringing this to our attention, I’ve credited your account with Telerik points.

Regards,
Hristian Stefanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.