From 056e4c4bec7941b8d955ca5225cc3e07f8994ab3 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sun, 24 Dec 2023 23:12:41 +0100 Subject: [PATCH] update fields --- src/Eventform.ce.vue | 62 +++++++++++++++----------------- src/components/FieldLabel.vue | 12 +++++++ src/components/fields/Select.vue | 39 ++++++++++++++++++++ src/components/fields/Text.vue | 13 ++++--- 4 files changed, 86 insertions(+), 40 deletions(-) create mode 100644 src/components/FieldLabel.vue create mode 100644 src/components/fields/Select.vue diff --git a/src/Eventform.ce.vue b/src/Eventform.ce.vue index df052d4..2760c99 100644 --- a/src/Eventform.ce.vue +++ b/src/Eventform.ce.vue @@ -4,56 +4,48 @@
- + :class="{ 'opacity-40': !backable }"> - +
-
- +
+
- + :class="{ 'opacity-40': !nextable }"> @@ -64,9 +56,12 @@
-
+
+
- +
@@ -80,12 +75,13 @@ diff --git a/src/components/fields/Select.vue b/src/components/fields/Select.vue new file mode 100644 index 0000000..9df28db --- /dev/null +++ b/src/components/fields/Select.vue @@ -0,0 +1,39 @@ + + + diff --git a/src/components/fields/Text.vue b/src/components/fields/Text.vue index eadb1b9..f67292b 100644 --- a/src/components/fields/Text.vue +++ b/src/components/fields/Text.vue @@ -5,18 +5,17 @@ v-model="inner" :name="field.key" type="text" - placeholder=" " - class="bg-white rounded-lg focus:outline-none text-gray-600 text-left placeholder-white peer py-1 px-2 sm:py-2 text-sm sm:text-base sm:px-3 w-full" + placeholder="" + class="bg-white rounded-lg focus:outline-none text-gray-600 text-left py-1 px-2 sm:py-2 text-sm sm:text-base sm:px-3 w-full" /> - * +