Skip to content

Commit

Permalink
added support for info links in array properties, see #279
Browse files Browse the repository at this point in the history
  • Loading branch information
cadeyrn committed Sep 1, 2024
1 parent 250a4e7 commit 5d4f0cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/js/core/configurator.js
Original file line number Diff line number Diff line change
Expand Up @@ -1286,6 +1286,11 @@ const configurator = {
const elCaption = document.createTextNode(policy.label);
elCaptionWrapper.appendChild(elCaption);

// info link
if (policy.info_link) {
configurator.addInfoLink(elCaptionWrapper, policy.info_link);
}

// add array items
if (policy.items) {
configurator.addProperty(elObjectWrapper, parentName + '_' + policy.name, policy.items, true, false);
Expand Down

0 comments on commit 5d4f0cc

Please sign in to comment.