-
-
Notifications
You must be signed in to change notification settings - Fork 239
dependsOn triggers infinite loop #421
Copy link
Copy link
Labels
needs reviewIssues/PRs that require a review from a maintainerIssues/PRs that require a review from a maintainerstaleIssues/PRs that have had no activity and may be archivedIssues/PRs that have had no activity and may be archived
Metadata
Metadata
Assignees
Labels
needs reviewIssues/PRs that require a review from a maintainerIssues/PRs that require a review from a maintainerstaleIssues/PRs that have had no activity and may be archivedIssues/PRs that have had no activity and may be archived
Winter CMS Build
1.1
PHP Version
7.4
Database engine
MySQL/MariaDB
Plugins installed
No response
Issue description
When a model has two fields that are dependent upon one another, an infinite loop occurs when the dependants are refreshed (line ~189 of winter.form.js:
$('[data-field-name="' + toRefresh.fields[0] + '"]').trigger('change')Appears to be related to this update: 712843d#diff-cf4c08be53eb135693cb4e0424261e5d15c7475d92abc4c87aff32cb81266413
Steps to replicate
Model setup:
Workaround
No response