This is a migrated thread and some comments may be shown as answers.

Changing option causes RangeError

1 Answer 50 Views
Gauges
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 07 Dec 2017, 12:16 PM

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?

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 12 Dec 2017, 07:20 AM
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.
Tags
Gauges
Asked by
Michael
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or