Skip to content

Commit

Permalink
Fix bug with mandatory dependsOn standardField, #135
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Jul 18, 2021
1 parent 80eca16 commit 42c0b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/public/js/be_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ var allDependingWidgets = [];

var removeDependingFormFields = function(widget) {
var fieldsToRemove = [];
widget.getElements('[name^=rsce_]').each(function(input) {
widget.getElements('input[name],textarea[name],select[name],button[name]').each(function(input) {
fieldsToRemove.push(input.name.split('[')[0]);
input.disabled = true;
input.setAttribute('data-disabled-by-rsce', 'true');
Expand Down

0 comments on commit 42c0b5c

Please sign in to comment.