From 295defc9a9eadbe2b150d0c9e0c93cf799fd5dd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Wed, 19 Jul 2023 16:53:36 +0200 Subject: [PATCH] Hide field unique constraints if disabled --- .../ModuleFields/Configurator/validation.vue | 88 ++++++++++--------- 1 file changed, 45 insertions(+), 43 deletions(-) diff --git a/client/web/compose/src/components/ModuleFields/Configurator/validation.vue b/client/web/compose/src/components/ModuleFields/Configurator/validation.vue index 1855a9978..c38d0fcab 100644 --- a/client/web/compose/src/components/ModuleFields/Configurator/validation.vue +++ b/client/web/compose/src/components/ModuleFields/Configurator/validation.vue @@ -117,58 +117,60 @@ +
+
-
-
{{ $t('constraints.label') }}
- {{ $t('constraints.label') }} + + {{ $t('constraints.description') }} + + + + - {{ $t('constraints.description') }} - -
- -
- - - - - - - + + + + - - - - - - -
+ + + {{ $t('constraints.totalFieldConstraintCount', { total: fieldConstraint.total }) }} -
-
+ +