From 11ad626a72218532fc056c1ce9a8af0f2e01d9f2 Mon Sep 17 00:00:00 2001 From: formsdev <136701234+formsdev@users.noreply.github.com> Date: Wed, 16 Aug 2023 14:14:52 +0530 Subject: [PATCH] On Form Preview field's modal & drag (#159) * On Form Preview field's modal & drag * fix typo * remove extra code * fix page break --- .../open/forms/OpenCompleteForm.vue | 4 +- .../js/components/open/forms/OpenForm.vue | 256 ++++------------ .../components/open/forms/OpenFormField.vue | 290 ++++++++++++++++++ .../forms/components/FormFieldsEditor.vue | 14 +- .../form-components/FormAboutSubmission.vue | 2 +- .../form-components/FormEditorPreview.vue | 1 + .../js/store/modules/open/working_form.js | 27 +- 7 files changed, 395 insertions(+), 199 deletions(-) create mode 100644 resources/js/components/open/forms/OpenFormField.vue diff --git a/resources/js/components/open/forms/OpenCompleteForm.vue b/resources/js/components/open/forms/OpenCompleteForm.vue index 133d0cf..38e4352 100644 --- a/resources/js/components/open/forms/OpenCompleteForm.vue +++ b/resources/js/components/open/forms/OpenCompleteForm.vue @@ -87,6 +87,7 @@ :loading="loading" :fields="form.properties" :theme="theme" + :admin-preview="adminPreview" @submit="submitForm" >