Skip to content

Commit

Permalink
Change default mode to contains
Browse files Browse the repository at this point in the history
  • Loading branch information
markusweigelt committed Oct 18, 2023
1 parent 2684286 commit f682269
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@
disabled="#{not item.editable or readOnly}"
required="#{item.required and (not empty param['editForm:save'] or not empty param['editForm:saveContinue'])}"
showCheckbox="true"
filter="#{item.filterable}">
filter="#{item.filterable}"
filterMatchMode="contains">
<f:selectItems value="#{item.items}"/>
<p:ajax event="change"
oncomplete="preserveMetadata(); #{item.leading ? (request.requestURI.contains('metadataEditor') ? 'updateTitleMetadataWithTable();' : 'updateProcessMetadata();') : (request.requestURI.contains('metadataEditor') ? 'updateTitleMetadata();' : '')}"/>
Expand All @@ -141,7 +142,8 @@
disabled="#{not item.editable or readOnly}"
required="#{item.required and (not empty param['editForm:save'] or not empty param['editForm:saveContinue'])}"
styleClass="#{readOnly ? 'read-only' : ''}"
filter="#{item.filterable}">
filter="#{item.filterable}"
filterMatchMode="contains">
<f:selectItem itemValue="#{null}"
itemDisabled="#{item.required}"
itemLabel="#{msgs.notSelected}"
Expand Down

0 comments on commit f682269

Please sign in to comment.