Skip to content

Commit

Permalink
fix: vocabulary reference property display bug in process creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominick Leppich committed Dec 5, 2024
1 parent 1ba20a6 commit 9c08fdd
Showing 1 changed file with 3 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@
</div>
</div>
</h:panelGroup>
<!-- Multi vocabulary references -->
<h:panelGroup rendered="#{(property.type.name == 'vocabularymultireference')}">
<!-- SELECT MANY -->
<h:panelGroup rendered="#{(property.type.name == 'listmultiselect') or (property.type.name == 'vocabularymultireference')}">
<div class="row">
<div class="col-12 col-md-3">
<h:outputLabel
Expand All @@ -131,7 +131,7 @@
</div>
<div class="col-12 col-md-9">
<intranda:formInputDropdownBadges
selectionBean="#{property.selectionBean}"
selectionBean="#{property.type.name == 'vocabularymultireference' ? property.vocabularySelectionBean : property.normalSelectionBean}"
readonly="#{property.showProcessGroupAccessCondition == 'READ'}"
/>
<h:message
Expand All @@ -142,36 +142,6 @@
</div>
</div>
</h:panelGroup>
<!-- SELECT MANY -->
<h:panelGroup rendered="#{(property.type.name == 'listmultiselect')}">
<div class="row">
<div class="col-12 col-md-3">
<intranda:formLabel
label="#{property.name}"
labelFor="selectmany"
labelRequired="#{property.showProcessGroupAccessCondition == 'WRITEREQUIRED'}"/>
</div>
<div class="col-12 col-md-9">
<h:selectManyListbox
id="selectmany"
value="#{property.valueList}"
size="5"
styleClass="form-control"
disabled="#{property.showProcessGroupAccessCondition == 'READ'}">
<f:selectItems
value="#{property.possibleValues}"
var="propertys"
itemLabel="#{propertys}"
itemValue="#{propertys}" />
</h:selectManyListbox>
<h:message
for="selectmany"
showDetail="true"
styleClass="help-inline font-danger" />
<intranda:formHelp content="#{msgs.helpPropertyValue}" />
</div>
</div>
</h:panelGroup>
<!-- BOOLEAN -->
<h:panelGroup rendered="#{(property.type.name == 'boolean')}">
<div class="row">
Expand Down

0 comments on commit 9c08fdd

Please sign in to comment.