From 09eed269b2c8e26b751c44e39989ae7348384374 Mon Sep 17 00:00:00 2001 From: Ikram Maalej Date: Fri, 14 Jan 2022 13:41:21 +0100 Subject: [PATCH] Fix not saved selectonemenu input value in metadatatable --- .../WEB-INF/templates/includes/metadataTreeTable.xhtml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Kitodo/src/main/webapp/WEB-INF/templates/includes/metadataTreeTable.xhtml b/Kitodo/src/main/webapp/WEB-INF/templates/includes/metadataTreeTable.xhtml index d87073fc0ca..791e44904e1 100644 --- a/Kitodo/src/main/webapp/WEB-INF/templates/includes/metadataTreeTable.xhtml +++ b/Kitodo/src/main/webapp/WEB-INF/templates/includes/metadataTreeTable.xhtml @@ -97,6 +97,7 @@ readonly="#{not item.editable}" styleClass="#{not item.editable or readOnly ? 'read-only disabled' : ''}" disabled="#{not item.editable or readOnly}" + required="#{item.required and (not empty param['editForm:save'] or not empty param['editForm:saveContinue'])}" showCheckbox="true"> @@ -110,11 +111,11 @@ value="#{item.selectedItem}" readonly="#{not item.editable}" autoWidth="false" + required="#{item.required and (not empty param['editForm:save'] or not empty param['editForm:saveContinue'])}" disabled="#{not item.editable or readOnly}" styleClass="#{readOnly ? 'read-only' : ''}">