AutoComplete custom editor error after upgrade

3 posts, 0 answers
  1. Andreas
    Andreas avatar
    3 posts
    Member since:
    Dec 2014

    Posted 20 Aug 2015 Link to this post

    I'm upgrading from Kendo 2015 Q1 SP1 (2015.1.408) where my grid with AutoComplete editor works fine, but when upgrading to any of the later versions (ex:Q2 SP1) breaks the editor, throwing "Uncaught TypeError: e._preselect is not a function" when clicking on a grid cell with the custom editor.

    http://dojo.telerik.com/epowu shows the broken version  (click on a "States" cell to see the exception and the placeholder text and not the correct value). 

    http://dojo.telerik.com/oHIse works fine using an older version.

    Did I miss some breaking change?

     

    Thanks

  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 24 Aug 2015 Link to this post

    Hello Andreas,

    In Q2 2015 release of Kendo UI, we introduced a full support for deferred binding for ComboBox, DropDownList and MultiSelect widget when MVVM value binding is used.

    The AutoComplete throws an exception in this case, because it does not support such deferred binding as it always works with "load on demand" filtering. You can avoid the reported error if you remove the autoBind: false option: The widget does not support the autoBind option:
    Regards,
    Georgi Krustev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Sypher
    Sypher avatar
    79 posts
    Member since:
    Aug 2006

    Posted 17 Sep 2015 in reply to Georgi Krustev Link to this post

    Thanks, Georgi! I had the same issue and removing the autoBind: false option fixed it. :-)
Back to Top