Multiselect has stopped working

Hi, We've just upgraded to 20.2.0.43 (from 19.4.0.56) and multiselect has completely stopped working. The datasource data is coming back as expected but nothing is being displayed either when adding or editing, this was working as expected previously. We couldn't see any details of breaking changes in the latest version.



<div class="input-grouping dateselect">

    <label class="size-14 w-500">@Label</label>

    <SfMultiSelect CssClass="" DataSource="@Data" TItem="Library" TValue="string[]" @bind-Value="@BindingValue">

        <MultiSelectFieldSettings Text="Code" Value="Code"></MultiSelectFieldSettings>

        <MultiSelectTemplates TItem="Library">

            <ItemTemplate>

                <span><span class='name'>@((context as Library).Code)</span><span class='destination'>@((context as Library).Description)</span></span>

            </ItemTemplate>

            <ValueTemplate>

                <span>@((context as Library).Code)</span>

            </ValueTemplate>

        </MultiSelectTemplates>

    </SfMultiSelect>

</div>


@code {


    [Parameter]

    public IEnumerable<Library> Data { get; set; }

}



Thanks Alex


1 Reply

SP Sureshkumar P Syncfusion Team August 18, 2022 09:05 AM UTC

Hi Alex

We have validated your shared information in our Volume 1- 2022. Release onwards we need to refer to the script and themes filed manually in the application. So, we suggest you refer to the theme and script files in the Pages/_Layout.cshtml file to load the component correctly into your application.

To know more about script references. Please refer to the documentation: https://blazor.syncfusion.com/documentation/common/adding-script-references

To know more about the breaking changes on the Volume-1 release. Please refer to the release notes here: https://blazor.syncfusion.com/documentation/release-notes/20.1.47?type=all#breaking-changes

Find the sample in the attachment with the latest changes.

Regards,

Sureshkumar P


Note: If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.


Attachment: MultiselectServer_2f5ab144.zip

Loader.
Up arrow icon