From f583ab2f97c92e74c8ff91e9cca6aca895d4ffdb Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Tue, 14 Mar 2023 17:21:19 +0100 Subject: [PATCH] #363 - Update labelfield --- src/components/uniforms-frontmatter/LongTextField.tsx | 3 ++- src/helpers/Telemetry.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/uniforms-frontmatter/LongTextField.tsx b/src/components/uniforms-frontmatter/LongTextField.tsx index ccded15b..0b822d6f 100644 --- a/src/components/uniforms-frontmatter/LongTextField.tsx +++ b/src/components/uniforms-frontmatter/LongTextField.tsx @@ -1,6 +1,7 @@ import * as React from 'react'; import { Ref } from 'react'; import { HTMLFieldProps, connectField, filterDOMProps } from 'uniforms'; +import { LabelField } from './LabelField'; export type LongTextFieldProps = HTMLFieldProps< string, @@ -22,7 +23,7 @@ function LongText({ }: LongTextFieldProps) { return (
- {label && } +