We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3757b1 commit 0ac22c1Copy full SHA for 0ac22c1
1 file changed
src/lib/FormGroupLayoutLabel.tsx
@@ -31,7 +31,7 @@ const FormGroupLayoutLabel = <T extends FieldValues>(props: FormGroupLayoutLabel
31
32
return (
33
<>
34
- <Label check={checkboxLayout || switchLayout} for={fieldId} style={{ display: "flex", gap: 1 }} onClick={(e) => e.stopPropagation()}>
+ <Label check={checkboxLayout || switchLayout} for={fieldId} onClick={(e) => e.stopPropagation()}>
35
{finalLabel}
36
{tooltip && (
37
<svg
@@ -44,7 +44,8 @@ const FormGroupLayoutLabel = <T extends FieldValues>(props: FormGroupLayoutLabel
44
className="tooltip--icon"
45
width="24"
46
height="24"
47
- >
+ onClick={(e) => e.preventDefault()}
48
+ >
49
<path
50
strokeLinecap="round"
51
strokeLinejoin="round"
0 commit comments