From dbf5fd5bcc87701e4e25ac2fc836f368ad8f371d Mon Sep 17 00:00:00 2001 From: Chirag Chhatrala <60499540+chiragchhatrala@users.noreply.github.com> Date: Wed, 17 Apr 2024 20:04:26 +0530 Subject: [PATCH] =?UTF-8?q?Field=E2=80=99s=20setting=20sidebar=20UI=20impr?= =?UTF-8?q?ovement=20(#378)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FormBlockLogicEditor.vue | 2 +- .../forms/fields/components/BlockOptions.vue | 12 +- .../forms/fields/components/FieldOptions.vue | 147 +++++++----------- 3 files changed, 63 insertions(+), 98 deletions(-) diff --git a/client/components/open/forms/components/form-logic-components/FormBlockLogicEditor.vue b/client/components/open/forms/components/form-logic-components/FormBlockLogicEditor.vue index 20e4040c..f8ee610f 100644 --- a/client/components/open/forms/components/form-logic-components/FormBlockLogicEditor.vue +++ b/client/components/open/forms/components/form-logic-components/FormBlockLogicEditor.vue @@ -75,7 +75,7 @@
- If enabled, checkbox will be replaced with a toggle switch -
+ label="Use toggle switch" + help="If enabled, checkbox will be replaced with a toggle switch" + /> @@ -60,23 +55,19 @@ v-if="field.type === 'files'" class="border-b py-2 px-4" > -- Options won't be in a dropdown anymore, but will all be visible -
+ /> @@ -336,22 +318,18 @@ label="Field Name" /> -- If you enable this, we will hide this field and fill it with a unique id (UUID format) on each new form - submission -
- -- If you enable this, we will hide this field and fill it a unique incrementing number on each new form submission -
+ />