From 37c8f35b58a2be2f1cbeca349b88bcd743bea368 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 19 Apr 2024 22:13:55 +0200 Subject: [PATCH] Add condition selector for mode --- resources/js/views/form/Conditions.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/resources/js/views/form/Conditions.vue b/resources/js/views/form/Conditions.vue index 0c3095e4..ad38db12 100644 --- a/resources/js/views/form/Conditions.vue +++ b/resources/js/views/form/Conditions.vue @@ -5,6 +5,8 @@
+ + Bedingung einfügen
@@ -61,6 +63,11 @@ const comparatorOptions = ref([ {id: 'isNotIn', name: 'ist nicht in', defaultValue: []}, ]); +const modeOptions = ref([ + {id: 'all', name: 'alle Bedingungen müssen zutreffen'}, + {id: 'any', name: 'mindestens eine Bedingung muss zutreffen'}, +]); + const fields = computed(() => { const result = []; props.single.config.sections.forEach((section) => {