From c1fb9a4c7ff88619bbb301c3c06deee122d70197 Mon Sep 17 00:00:00 2001 From: alaskowski <alaskowski@ethz.ch> Date: Mon, 18 Sep 2023 16:22:07 +0200 Subject: [PATCH] SSDM-55: Removed validation for multivalued properties creation in admin --- .../form/entitytype/EntityTypeFormControllerValidate.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ui-admin/src/js/components/types/form/entitytype/EntityTypeFormControllerValidate.js b/ui-admin/src/js/components/types/form/entitytype/EntityTypeFormControllerValidate.js index cd0de2146a7..100cb409b17 100644 --- a/ui-admin/src/js/components/types/form/entitytype/EntityTypeFormControllerValidate.js +++ b/ui-admin/src/js/components/types/form/entitytype/EntityTypeFormControllerValidate.js @@ -77,14 +77,6 @@ export default class EntityTypeFormControllerValidate extends PageControllerVali messages.get(messages.DATA_TYPE) ) - if(property.dataType.value != 'SAMPLE' && property.dataType.value != 'CONTROLLEDVOCABULARY') { - validator.validateBooleanNotSet( - property, - 'isMultiValue', - messages.get(messages.IS_MULTI_VALUE) - ) - } - if (property.vocabulary.visible) { validator.validateNotEmpty( property, -- GitLab