From 8c09137972501ce83066e04caeacf31d4ba49107 Mon Sep 17 00:00:00 2001 From: dcruvolo Date: Fri, 13 Sep 2024 15:35:04 +0200 Subject: [PATCH] fix (tailwind): expanded InputTextArea component (#4218) * added additional props to text area component and e2e tests --- .../components/input/TextArea.vue | 19 ++- .../pages/input/TextArea.story.vue | 112 ++++++++++-------- e2e/package.json | 3 +- .../input/textarea.spec.ts | 37 ++++++ 4 files changed, 116 insertions(+), 55 deletions(-) create mode 100644 e2e/tests/tailwind-components/input/textarea.spec.ts diff --git a/apps/tailwind-components/components/input/TextArea.vue b/apps/tailwind-components/components/input/TextArea.vue index f21632819c..8e910a7480 100644 --- a/apps/tailwind-components/components/input/TextArea.vue +++ b/apps/tailwind-components/components/input/TextArea.vue @@ -2,12 +2,18 @@ withDefaults( defineProps<{ id: string; + value?: string; + placeholder?: string; + disabled?: boolean; required?: boolean; + valid?: boolean; hasError?: boolean; }>(), { + disabled: false, required: false, hasError: false, + valid: false, } ); @@ -16,10 +22,17 @@ const modelValue = ref("");