custom MVVM widget visibility binding issue

2 posts, 0 answers
  1. George
    George avatar
    58 posts
    Member since:
    Apr 2014

    Posted 05 Mar 2018 Link to this post


    I am trying to create a custom MVVM widget. I noticed that when my widget is bound and the "visible" binding is declared -- this error logs in the console:

    typeError: cannot read property '0' of undefined. 


    I have created a dojo from an example provided in your tutorial on how to build a custom widget and am able to reproduce:


    Please advise.

  2. Bozhidar
    Bozhidar avatar
    1192 posts

    Posted 07 Mar 2018 Link to this post


    The widgets rely on a "wrapper" property being available. In general it's the same as the element property, so you can do the following:

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top