From b48687f5bb7ceac33854e2a13e91c513659ccdb2 Mon Sep 17 00:00:00 2001 From: guerler Date: Sun, 11 Jun 2023 10:03:11 +0200 Subject: [PATCH 01/86] Initial commit, prep FormData component placeholder and connect to FormElement --- .../Form/Elements/FormData/FormData.vue | 7 +++++++ client/src/components/Form/FormElement.vue | 17 ++++++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 client/src/components/Form/Elements/FormData/FormData.vue diff --git a/client/src/components/Form/Elements/FormData/FormData.vue b/client/src/components/Form/Elements/FormData/FormData.vue new file mode 100644 index 000000000000..5d707e0f000b --- /dev/null +++ b/client/src/components/Form/Elements/FormData/FormData.vue @@ -0,0 +1,7 @@ + + + diff --git a/client/src/components/Form/FormElement.vue b/client/src/components/Form/FormElement.vue index bebef6ffb639..634e60e01b4a 100644 --- a/client/src/components/Form/FormElement.vue +++ b/client/src/components/Form/FormElement.vue @@ -10,6 +10,7 @@ import type { FormParameterAttributes, FormParameterTypes, FormParameterValue } import FormBoolean from "./Elements/FormBoolean.vue"; import FormColor from "./Elements/FormColor.vue"; +import FormData from "./Elements/FormData/FormData.vue"; import FormDataDialog from "./Elements/FormDataDialog.vue"; import FormDirectory from "./Elements/FormDirectory.vue"; import FormDrilldown from "./Elements/FormDrilldown/FormDrilldown.vue"; @@ -205,9 +206,9 @@ const isOptional = computed(() => !isRequired.value && attrs.value["optional"] ! - + + + !isRequired.value && attrs.value["optional"] ! :options="attrs.options" :optional="attrs.optional" :multiple="attrs.multiple" /> + Date: Wed, 28 Jun 2023 18:21:09 +0200 Subject: [PATCH 02/86] Sketch out required props --- .../Form/Elements/FormData/FormData.vue | 24 +++++++++++++++++++ client/src/components/Form/FormElement.vue | 3 ++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/client/src/components/Form/Elements/FormData/FormData.vue b/client/src/components/Form/Elements/FormData/FormData.vue index 5d707e0f000b..f41a2ac07288 100644 --- a/client/src/components/Form/Elements/FormData/FormData.vue +++ b/client/src/components/Form/Elements/FormData/FormData.vue @@ -1,5 +1,29 @@