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.

Type: Ticket
Status: New
aenowwebsite
View Replies:

concrete5 Environment Information

N/A

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.