From 9241ba1230b0fde41595634362d83c92c66b7699 Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Wed, 13 Nov 2024 15:57:35 +0100 Subject: [PATCH] fix(FormField): missing conditions to apply container classes (#2631) Co-authored-by: Benjamin Canac --- src/runtime/components/FormField.vue | 2 +- test/components/__snapshots__/FormField-vue.spec.ts.snap | 4 ++-- test/components/__snapshots__/FormField.spec.ts.snap | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/runtime/components/FormField.vue b/src/runtime/components/FormField.vue index deb8aec8..258120b1 100644 --- a/src/runtime/components/FormField.vue +++ b/src/runtime/components/FormField.vue @@ -96,7 +96,7 @@ provide(formFieldInjectionKey, computed(() => ({

-
+

diff --git a/test/components/__snapshots__/FormField-vue.spec.ts.snap b/test/components/__snapshots__/FormField-vue.spec.ts.snap index 4cce60f7..afbf33c3 100644 --- a/test/components/__snapshots__/FormField-vue.spec.ts.snap +++ b/test/components/__snapshots__/FormField-vue.spec.ts.snap @@ -30,7 +30,7 @@ exports[`FormField > renders with description slot correctly 1`] = `

Description slot

-
+
" @@ -130,7 +130,7 @@ exports[`FormField > renders with label slot correctly 1`] = `
-
+
" diff --git a/test/components/__snapshots__/FormField.spec.ts.snap b/test/components/__snapshots__/FormField.spec.ts.snap index 129b9be9..786c5aa7 100644 --- a/test/components/__snapshots__/FormField.spec.ts.snap +++ b/test/components/__snapshots__/FormField.spec.ts.snap @@ -30,7 +30,7 @@ exports[`FormField > renders with description slot correctly 1`] = `

Description slot

-
+
" @@ -130,7 +130,7 @@ exports[`FormField > renders with label slot correctly 1`] = ` -
+
"