From 5d21218ba80764b120127de1c35253821faa2116 Mon Sep 17 00:00:00 2001 From: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Date: Tue, 7 May 2024 14:35:58 -0400 Subject: [PATCH] fix: remove tooltip text (#149) --- src/forms/Field.tsx | 1 - src/forms/Textarea.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/src/forms/Field.tsx b/src/forms/Field.tsx index 2f90adf..e57fe6b 100644 --- a/src/forms/Field.tsx +++ b/src/forms/Field.tsx @@ -169,7 +169,6 @@ const Field = (props: FieldProps) => { id={idOrName} name={props.name} defaultValue={props.defaultValue} - title={props.placeholder ? props.placeholder : idOrName} placeholder={props.placeholder} ref={props.register && props.register(props.validation)} disabled={props.disabled} diff --git a/src/forms/Textarea.tsx b/src/forms/Textarea.tsx index f78775d..a4b97a5 100644 --- a/src/forms/Textarea.tsx +++ b/src/forms/Textarea.tsx @@ -56,7 +56,6 @@ export const Textarea = (props: TextareaProps) => { ref={props.register && props.register(props.validation)} rows={props.rows ?? 4} wrap={props.wrap ?? "soft"} - title={props.label} {...inputProps} data-testid={props.dataTestId} />