Autocomplete has stopped working

Hi, We've just upgraded to 20.2.0.43 (from 19.4.0.56) and autocomplete has 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.


<SfAutoComplete @ref="@AutoCompleteObj" @bind-Value="Employment_History.Level2CompanyID" TValue="int?" TItem="Company" AllowFiltering="true" DataSource="@companies" CssClass="e-multi-column">

            <AutoCompleteFieldSettings Text="Company_Description" Value="Level2CompanyID"></AutoCompleteFieldSettings>

            <AutoCompleteEvents TItem="Company" TValue="int?" Filtering="@OnFiltering"></AutoCompleteEvents>

            <AutoCompleteTemplates TItem="Company">

                <HeaderTemplate>

                    <table><tr><th class="e-text-center">Company Description</th></tr></table>

                </HeaderTemplate>

                <ItemTemplate>

                    <table><tbody><tr><td class="e-text-center">@((context as Company).Company_Description)</td></tr></tbody></table>

                </ItemTemplate>

            </AutoCompleteTemplates>

        </SfAutoComplete>


Thanks

Alex


1 Reply

VJ Vinitha Jeyakumar Syncfusion Team August 18, 2022 12:51 PM UTC

Hi Alex,


We want to let you know that we have included a breaking change in loading scripts and styles from our latest version 20.1.47. You can use any one of the below methods to load styles and scripts externally. Kindly refer to the below ways for your reference


  1. CDN

 

  1. Static Web Assets

Scripts - https://blazor.syncfusion.com/documentation/common/adding-script-references#static-web-assets

 

Styles - https://www.nuget.org/packages/Syncfusion.Blazor.Themes/


Also refer the below release notes for your additional information.

https://blazor.syncfusion.com/documentation/release-notes/20.1.47?type=all#breaking-changes


We have also prepared a sample using the code you have shared and we didn't face any issues as you reported. please find the sample below,


Samplehttps://www.syncfusion.com/downloads/support/directtrac/general/ze/MultiselectServer1883749797


Please ensure the issue after following the above ways to refer the styles and scripts and if still issue persists at your end. please share us with the issue reproducing runnable sample to further validate on our end.


Regards,

Vinitha



Loader.
Up arrow icon