Dynamic ng-if fails (AngularJS)

3 posts, 0 answers
  1. Jakob
    Jakob avatar
    17 posts
    Member since:
    Mar 2013

    Posted 25 Jun 2015 Link to this post

    We are trying to switch the visibility of some NumericTextBoxes. 'ng-show' made some appearance effects but nothing useful. 'ng-if' seems to be more promising, but we experience other effects. Instead of disappearing nothing happens and instead of reappearing additional TextBoxes appear.

     

    Please see this example: http://dojo.telerik.com/ELOlO

    Press the button to see the problem.

    Any hints?

    Regards

    Alex

  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 26 Jun 2015 Link to this post

    Hello,

    the easiest way to solve that is to show/hide the container of the element - please let us know if this works for you.

    Regards,
    Petyo
    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. Jakob
    Jakob avatar
    17 posts
    Member since:
    Mar 2013

    Posted 30 Jun 2015 in reply to Petyo Link to this post

    That works.

    Thank you,
    Alexander

     

Back to Top