Circular References Visibility Rules
Permalink Browser Info Environment
Currently in formify for the visibility rules if you choose the same field or a field in a circular manner it breaks the UI and prevents saving. For instance if I set the following rule:
A is Dependent on B
B is Dependent on C
C Is Dependent on A
Or A is Dependent on A
When angular goes to encode the JSON inside $scope.formifyField.prototype.update it throws an exception as it is an endless loop of references. I was able to fix this by running angular.copy and setting the comparison rule fields to null. Might be worth updating in your plugin as well.
A is Dependent on B
B is Dependent on C
C Is Dependent on A
Or A is Dependent on A
When angular goes to encode the JSON inside $scope.formifyField.prototype.update it throws an exception as it is an endless loop of references. I was able to fix this by running angular.copy and setting the comparison rule fields to null. Might be worth updating in your plugin as well.
Type: | Ticket |
---|---|
Status: | New |