Changing option causes RangeError

2 posts, 0 answers
  1. Denis
    Denis avatar
    1 posts
    Member since:
    May 2014

    Posted 07 Dec 2017 Link to this post

    Hi there,

    as in this Dojo I can't figure out, how to dynamically change the max value. Could that RangeError be caused by a bug? I expected k-rebind as it would usually work.

    Can anyone help with this?

  2. Stefan
    Admin
    Stefan avatar
    1794 posts

    Posted 12 Dec 2017 Link to this post

    Hello, Denis,

    Thank you for the provided example.

    After inspecting it I noticed that the issue occurs because of the ng-repeat.

    If I removed the ng-repeat option, the example was working as expected:

    http://dojo.telerik.com/utACU

    Please have in mind that the ng-repeat directive is not fully supported and can cause different issues like this one:

    https://docs.telerik.com/kendo-ui/AngularJS/Troubleshooting/notes-on-ng-repeat#ng--directives-in-widget-markup

    I understand that this will create a larger code and additional manual work, but for now, this is the supported approach.

    Regards,
    Stefan
    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