We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

s.filter is not a function

Thread ID:

Created:

Updated:

Platform:

Replies:

146217 Jul 25,2019 09:41 PM UTC Jul 30,2019 04:51 AM UTC ASP.NET Core - EJ 2 1
loading
Tags: AutoComplete
MDevelop
Asked On July 25, 2019 09:43 PM UTC

Hello
I'm using the autocomplete component in a .net core razor page. 
<ejs-autocomplete id="txbAuto" floatLabelType="Never" showClearButton="false" actionBegin="onAutoCompleteLoad"
                                              placeholder="  Search by First, or Last Name"
                                              filterType="Contains" minLength="3" suggestionCount="10" >
                                <e-data-manager url="Details?handler=Search" adaptor="UrlAdaptor">e-data-manager>
                                <e-autocomplete-fields text="FirstName" value="UserId">e-autocomplete-fields>
                            ejs-autocomplete>
The handler is working fine, and is set up as follow:
IEnumerable<ResultEntitydata = repo.GetResults(searchCriteria);
return new JsonResult(new { result = data, count = 10 });
I'm getting the following error in my browser's console:
s.filter is not a function

any idea on the source of the error ?
Is the autocomplete component expecting a specific dto as result from the data source (url adaptor in this case) ?

Thanks, M

Narayanasamy Panneer Selvam [Syncfusion]
Replied On July 30, 2019 04:51 AM UTC

Hi Moez, 
 
Sorry for the inconvenience caused.

 
We have tried to reproduce this issue on our side. But we could not. So Can you please reproduce the reported issue in the attached sample..??
https://www.syncfusion.com/downloads/support/forum/146217/ze/AutocompleteRazor2108916049 
 
Regards, 
Narayanasamy P. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon