From fc7a97c0459501661a3fa0b5567c00cb89aaa4cc Mon Sep 17 00:00:00 2001 From: Alexandre Rousseau Date: Fri, 27 Dec 2024 17:33:47 +0100 Subject: [PATCH 01/14] display errors --- .../builder/settings/BuilderFieldsText.vue | 13 ++- .../settings/BuilderSettingsProperties.vue | 26 ++++- .../builder/settings/BuilderTemplateInput.vue | 3 + .../src/components/core/content/CoreText.vue | 94 +++++++++++-------- src/ui/src/wds/WdsFieldWrapper.vue | 16 +++- src/ui/src/wds/WdsTextInput.vue | 9 +- src/ui/src/wds/WdsTextareaInput.vue | 9 +- src/ui/src/writerTypes.ts | 14 ++- 8 files changed, 129 insertions(+), 55 deletions(-) diff --git a/src/ui/src/builder/settings/BuilderFieldsText.vue b/src/ui/src/builder/settings/BuilderFieldsText.vue index f6e0db840..72b172a4f 100644 --- a/src/ui/src/builder/settings/BuilderFieldsText.vue +++ b/src/ui/src/builder/settings/BuilderFieldsText.vue @@ -12,6 +12,7 @@ :value="component.content[fieldKey]" :placeholder="templateField?.default" :options="options" + :error="error" @input="handleInput" /> @@ -23,6 +24,7 @@ :input-id="inputId" :value="component.content[fieldKey]" :placeholder="templateField?.default" + :error="error" @input="handleInput" /> @@ -30,7 +32,7 @@