Skip to content

Commit

Permalink
#6339 change to select many menu
Browse files Browse the repository at this point in the history
  • Loading branch information
sekmiller committed Nov 18, 2019
1 parent 1213b46 commit 7d8ad27
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main/webapp/metadataFragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,13 @@
<f:selectItem itemLabel="#{bundle.select}" itemValue="" noSelectionOption="true"/>
<f:selectItems value="#{dsf.datasetFieldType.controlledVocabularyValues}" var="cvv" itemLabel="#{cvv.localeStrValue}" itemValue="#{cvv}"/>
</p:selectOneMenu>
<div class="ui-inputfield form-control select-scroll-block" jsf:rendered="#{dsf.datasetFieldType.allowMultiples}">
<p:selectManyCheckbox value="#{dsf.controlledVocabularyValues}" converter="controlledVocabularyValueConverter" layout="pageDirection"
id="unique2" required="#{dsf.required}">
<f:selectItem itemLabel="#{bundle.select}" class="chkbox-label-margin" itemValue="" noSelectionOption="true"/>
<f:selectItems value="#{dsf.datasetFieldType.controlledVocabularyValues}" var="cvv" itemLabel="#{cvv.localeStrValue}" itemValue="#{cvv}"/>
</p:selectManyCheckbox>
</div>

<p:selectManyMenu value="#{dsf.controlledVocabularyValues}" converter="controlledVocabularyValueConverter"
id="unique2" required="#{dsf.required}" rendered="#{dsf.datasetFieldType.allowMultiples}">
<f:selectItem itemLabel="#{bundle.select}" class="chkbox-label-margin" itemValue="" noSelectionOption="true"/>
<f:selectItems value="#{dsf.datasetFieldType.controlledVocabularyValues}" var="cvv" itemLabel="#{cvv.localeStrValue}" itemValue="#{cvv}"/>
</p:selectManyMenu>

<div class="alert-danger" jsf:rendered="#{!empty dsf.validationMessage}">
<strong>#{dsf.validationMessage}</strong>
</div>
Expand Down

0 comments on commit 7d8ad27

Please sign in to comment.