validateInput event not firing in AngularJS

3 posts, 1 answers
  1. Savas
    Savas avatar
    22 posts
    Member since:
    Nov 2015

    Posted 03 Feb Link to this post

    Hello,

    I am trying to to use validateInput event of kendo validator using k-on- prefix attribute, but seems like the event never fires, below is the example

    http://dojo.telerik.com/OGEjE/5

    Thanks
    Ketul

  2. Answer
    Alex Hajigeorgieva
    Admin
    Alex Hajigeorgieva avatar
    233 posts

    Posted 03 Feb Link to this post

    Hello Ketul,

    The syntax for converting Kendo UI widget options to AngularJS directives is to change the option from camelCase to dash separated words. So if we change the k-on-validateInput to k-on-validate-input, the example works as expected.

    Demo: http://dojo.telerik.com/UqexA

    Documentation reference: http://docs.telerik.com/kendo-ui/AngularJS/introduction#widget-options-in-html

    Kind Regards,
    Alex Hajigeorgieva
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Savas
    Savas avatar
    22 posts
    Member since:
    Nov 2015

    Posted 03 Feb in reply to Alex Hajigeorgieva Link to this post

    Thanks looks like it only works with the latest version. thanks for pointing out the syntax error, I will update my Kendo Version
Back to Top