From 4e57790f952cb622309a9ce0343cb3906d2c353d Mon Sep 17 00:00:00 2001 From: Ramiro Medina <64783088+ramedina86@users.noreply.github.com> Date: Tue, 27 Aug 2024 11:43:53 +0000 Subject: [PATCH 1/3] fix: Generate datalist id correctly --- src/ui/src/builder/BuilderFieldsText.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ui/src/builder/BuilderFieldsText.vue b/src/ui/src/builder/BuilderFieldsText.vue index c77e9ca90..8a8e9adf9 100644 --- a/src/ui/src/builder/BuilderFieldsText.vue +++ b/src/ui/src/builder/BuilderFieldsText.vue @@ -8,6 +8,7 @@ > { return definition.fields[fieldKey.value]; }); +const inputId = computed(() => `${props.componentId}-${props.fieldKey}`); + const options = computed(() => { const field = templateField.value; if (field.options) { @@ -57,7 +61,7 @@ const options = computed(() => { ? field.options(wf, componentId.value) : field.options; } - return []; + return {}; }); const handleInput = (ev: Event) => { From fe7d9c35d9e424041bded44818bc5f66648bf43f Mon Sep 17 00:00:00 2001 From: Ramiro Medina <64783088+ramedina86@users.noreply.github.com> Date: Tue, 27 Aug 2024 11:46:27 +0000 Subject: [PATCH 2/3] feat: Added support for button color --- src/ui/src/core_components/content/CoreAnnotatedText.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ui/src/core_components/content/CoreAnnotatedText.vue b/src/ui/src/core_components/content/CoreAnnotatedText.vue index 0636f818b..6e41e0e15 100644 --- a/src/ui/src/core_components/content/CoreAnnotatedText.vue +++ b/src/ui/src/core_components/content/CoreAnnotatedText.vue @@ -26,7 +26,12 @@