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 e4bb1ac28..ba794cabc 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 @@ -26,7 +26,7 @@ const errorMessage = computed(() => { if (!props.error) return ""; const translation = t(props.error.code, props.error.parameters || {}); - const noTranslationFound = translation === props.error.code; + const noTranslationFound = translation === props.error.code.toString(); return noTranslationFound ? props.error.detail : translation; });