From aab06cdc36668aca1fc98836a227d10abb011807 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 16 Apr 2021 09:39:29 +0100 Subject: [PATCH] Don't render field label components unless a label exists --- packages/bbui/src/Form/Field.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/bbui/src/Form/Field.svelte b/packages/bbui/src/Form/Field.svelte index 24131a9707..5e4ca01f06 100644 --- a/packages/bbui/src/Form/Field.svelte +++ b/packages/bbui/src/Form/Field.svelte @@ -10,7 +10,9 @@
- + {#if label} + + {/if}
{#if error}