AngularJS component with ng-if

2 posts, 1 answers
  1. Joey
    Joey avatar
    1 posts
    Member since:
    Apr 2015

    Posted 28 Feb Link to this post

    Angular newby here,

    I am having troubles with setting up the validator together with an ng-if directive. I figured out ng-if creates a new child scope but I am unable to access the parent validator property as described in the Kendo validator demo.

    I've created a dojo where the problem is simulated: http://dojo.telerik.com/AyIzo/4

    Hoping for a solution.

    Thanks in advance.

    Joey Lemmens

     

     

  2. Answer
    Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 02 Mar Link to this post

    Hello Joey,

    You could assign the reference to the parent scope by referencing an object(example).

    Regards,
    Daniel
    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
Back to Top