From ab3a1761a4451e16b085ababb1996fa5d9584b35 Mon Sep 17 00:00:00 2001 From: Gianmarco Manni Date: Mon, 14 Oct 2024 10:19:09 +0200 Subject: [PATCH] x --- src/lib/FormattedInput.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/FormattedInput.tsx b/src/lib/FormattedInput.tsx index ea828b8..4b9ec11 100644 --- a/src/lib/FormattedInput.tsx +++ b/src/lib/FormattedInput.tsx @@ -45,7 +45,7 @@ const FormattedInputInternal = (props: Form } }, disabled: isDisabled, - className, + className: classnames("form-control", className), }; return ( @@ -110,7 +110,7 @@ const FormattedInput = (props: FormattedInp onBlur: propsOnBlur, className = "", } = props; - + const { name, id } = useSafeNameId(props?.name ?? "", props.id); const { control, disabled: formDisabled = false } = useFormContextInternal() ?? {};