Skip to content

Commit

Permalink
vss dependency required use backend #172
Browse files Browse the repository at this point in the history
  • Loading branch information
schefbi committed Aug 16, 2024
1 parent 925fbd9 commit 699aef3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/framework/form-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ if(field.options.dependencyItems !== undefined) {

if(vssDependencyCheck(formValue,operator,values)) {
hidden.classList.remove(hiddenClass);
requiredElement.required = true;
requiredElement.required = element.required;
} else {
hidden.classList.add(hiddenClass);
requiredElement.required = false;
Expand Down
1 change: 1 addition & 0 deletions app/routes/list/category/event/subscribe.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ function addSubscriptionDetailDependencies(subscriptionDetailDependencies,subscr

if (dependency.IdVss === item.id){
item.options.hidden = 'uk-hidden';
dependency.required = item.options.required
item.options.required = false;
}
if (dependency.IdVssInfluencer === item.id) {
Expand Down

0 comments on commit 699aef3

Please sign in to comment.