From 94bb663ae1222425e470657e5f4ef91a86c347a7 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Tue, 26 Dec 2023 01:18:09 +0100 Subject: [PATCH] Add cols --- index.html | 4 ++-- src/Eventform.ce.vue | 41 +++++++++++++++++++++++++++++++++++++++-- 2 files changed, 41 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index ef41dce..cac33c7 100644 --- a/index.html +++ b/index.html @@ -10,8 +10,8 @@ style="--primary: hsl(181, 75%, 26%); --secondary: hsl(181, 75%, 35%); --font: hsl(181, 84%, 78%); --circle: hsl(181, 86%, 16%)" value='{"sections": [ {"name": "Personal", "intro": "Jaöaöd", "fields": [ - {"name": "Vorname", "type": "TextField", "columns": {"mobile": 2, "tablet": 3, "desktop": 6}, "default": "", "required": true}, - {"name": "Essen", "type": "CheckboxesField", "columns": {"mobile": 2, "tablet": 3, "desktop": 6}, "default": [], "required": true, "options": ["lal", "fff", "ccc"]}, + {"name": "Vorname", "type": "TextField", "columns": {"mobile": 1, "tablet": 2, "desktop": 3}, "default": "", "required": true}, + {"name": "Essen", "type": "CheckboxesField", "columns": {"mobile": 1, "tablet": 2, "desktop": 3}, "default": [], "required": true, "options": ["lal", "fff", "ccc"]}, {"name": "Datenschutz", "description": "Ich akzeptire das abfghg", "type": "CheckboxField", "columns": {"mobile": 2, "tablet": 3, "desktop": 6}, "default": false, "required": true}, {"name": "Geschlecht", "type": "DropdownField", "columns": {"mobile": 2, "tablet": 3, "desktop": 6}, "default": null, "required": true, "options": ["A","Bb","Cc"]}, {"name": "Essgewohnheiten", "type": "RadioField", "columns": {"mobile": 2, "tablet": 3, "desktop": 6}, "default": null, "required": true, "options": ["A","Bb","Cc"]}, diff --git a/src/Eventform.ce.vue b/src/Eventform.ce.vue index 27fed9c..9c303df 100644 --- a/src/Eventform.ce.vue +++ b/src/Eventform.ce.vue @@ -79,8 +79,18 @@