Skip to content

Commit

Permalink
Support arbitrary depth of depends on (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
meesiris authored Feb 20, 2024
1 parent c227d6b commit d2f284c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/backend/widgets/form/assets/js/winter.form.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@
data: refreshData
}).success(function() {
self.toggleEmptyTabs()
$('[data-field-name="' + toRefresh.fields[0] + '"]').trigger('change')
$.each(toRefresh.fields, function(key, field) {
$('[data-field-name="' + field + '"]').trigger('change')
})
})
}, this.dependantUpdateInterval)

Expand Down

0 comments on commit d2f284c

Please sign in to comment.