From 42d2fe7e041501e622f42786050afc2127942be4 Mon Sep 17 00:00:00 2001 From: Nils Date: Wed, 2 Oct 2024 08:52:39 +0200 Subject: [PATCH] migrate mt-field-error over to composition api --- .../mt-field-error/mt-field-error.vue | 137 ++++++++---------- 1 file changed, 60 insertions(+), 77 deletions(-) diff --git a/packages/component-library/src/components/form/_internal/mt-field-error/mt-field-error.vue b/packages/component-library/src/components/form/_internal/mt-field-error/mt-field-error.vue index d9c7c26df..4c220a7ac 100644 --- a/packages/component-library/src/components/form/_internal/mt-field-error/mt-field-error.vue +++ b/packages/component-library/src/components/form/_internal/mt-field-error/mt-field-error.vue @@ -5,102 +5,85 @@ color="color-text-critical-default" v-if="!!error" class="mt-field__error" - aria-label="Error message" > - - {{ errorMessage }} + + + + {{ errorMessage }} + - -