Error: s.data.Query.compareFilters is not a function

2 posts, 0 answers
  1. Camilo
    Camilo avatar
    1 posts
    Member since:
    Oct 2012

    Posted 09 Aug Link to this post

    Hi everyone,

    I have a kendo ComboBox being binded to a json object as follows:

    function getTests(element) {     //element is just an input

       element.kendoComboBox({         

           dataTextField: "Name",         

           dataValueField: "Id",         

           dataSource: {             

                  data: [{ Id: 2, Name: "Test 1" }, { Id: 8, Name: "Test 2" }, { Id: 6, Name: "Test 3" }]        

           },         

           placeholder: "Select One",         

           suggest: true,         

           filter: "contains",     

    }); }

     

    And I'm receiving the following error:

       Uncaught TypeError: s.data.Query.compareFilters is not a function

    from:

       kendo.web.js:28607

    I'm working with:

       kendo.version = '2016.2.714'

     

    Plese give a clue on this

     

    Regards

  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 11 Aug Link to this post

    Hello Camilo,

    I was not able to reproduce the error on my end. Could you please check my test page and let me know what I am missing?

    Looking forward to your reply.

    Regards,
    Alexander Valchev
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
Back to Top