From 52c9f054a517a5ace39b74d46fe953cdd306fa87 Mon Sep 17 00:00:00 2001 From: formsdev <136701234+formsdev@users.noreply.github.com> Date: Mon, 18 Sep 2023 19:03:32 +0530 Subject: [PATCH] Add block shortcut (#200) * Add block shortcut * Add block shortcut * Add block modal as sidebar * add block sidebar UI changes * Clean spacing add form block sidebar --------- Co-authored-by: Julien Nahum --- .../components/open/forms/OpenFormField.vue | 70 ++-- .../open/forms/components/FormEditor.vue | 3 + .../forms/components/FormFieldsEditor.vue | 29 +- .../form-components/AddFormBlockModal.vue | 336 ------------------ .../form-components/AddFormBlockSidebar.vue | 262 ++++++++++++++ .../js/store/modules/open/working_form.js | 24 +- 6 files changed, 344 insertions(+), 380 deletions(-) delete mode 100644 resources/js/components/open/forms/components/form-components/AddFormBlockModal.vue create mode 100644 resources/js/components/open/forms/components/form-components/AddFormBlockSidebar.vue diff --git a/resources/js/components/open/forms/OpenFormField.vue b/resources/js/components/open/forms/OpenFormField.vue index 156e911b0..c8f59b882 100644 --- a/resources/js/components/open/forms/OpenFormField.vue +++ b/resources/js/components/open/forms/OpenFormField.vue @@ -6,8 +6,18 @@
-
-
+ +