Change componentOptions in UI Version 10.7.X+

We have an AngularJS widget with componentOptions:

      options: {
        groupsSelectable: true,
        noDeviceTarget: false

We need to change the “noDeviceTarget” option if a button is clicked. We used the following code line:

 $scope.componentOptions.noDeviceTarget = true;

In Version it is not working because “$scope.componentOptions” is not defined. How can we access these options?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.