Skip to content

Commit

Permalink
init select2multi in concept select template if adv search op support…
Browse files Browse the repository at this point in the history
… multiselect re #10529
  • Loading branch information
whatisgalen committed Mar 28, 2024
1 parent 0792e18 commit 7472ac4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arches/app/templates/views/components/datatypes/concept.htm
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
</div>

<div class="col-md-8 col-lg-9" data-bind="visible: op() !== 'null' && op() !== 'not_null'">
<!-- ko if: !ko.unwrap(op).includes('in_list') -->
<select style="display:inline-block;"
data-bind="
attr: {'data-label': node.label},
Expand All @@ -55,5 +56,16 @@
}
">
</select>
<!-- /ko -->
<!-- ko if: ko.unwrap(op).includes('in_list') -->
<select style="display:inline-block;"
data-bind="
attr: {'data-label': node.label},
select2Query: {
select2Config: select2ConfigMulti
}
">
</select>
<!-- /ko -->
</div>
<!-- /ko -->

0 comments on commit 7472ac4

Please sign in to comment.