From a0f4916d3b8522343a71d86468700e4f867084e3 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Sun, 5 May 2024 16:57:04 +0300 Subject: [PATCH] add field settings dropdown to area --- app/javascript/template_builder/area.vue | 108 ++++- app/javascript/template_builder/document.vue | 5 +- app/javascript/template_builder/field.vue | 368 +--------------- .../template_builder/field_settings.vue | 416 ++++++++++++++++++ app/javascript/template_builder/page.vue | 3 +- 5 files changed, 541 insertions(+), 359 deletions(-) create mode 100644 app/javascript/template_builder/field_settings.vue diff --git a/app/javascript/template_builder/area.vue b/app/javascript/template_builder/area.vue index 2aef3c392..e6b76c455 100644 --- a/app/javascript/template_builder/area.vue +++ b/app/javascript/template_builder/area.vue @@ -70,7 +70,7 @@ @blur="onNameBlur" >{{ optionIndexText }} {{ (defaultField ? (field.title || field.name) : field.name) || defaultName }}
{{ t('required') }} + + + +