diff --git a/src/components/ui/form.tsx b/src/components/ui/form.tsx index 80a1249..5a50cd4 100644 --- a/src/components/ui/form.tsx +++ b/src/components/ui/form.tsx @@ -114,6 +114,7 @@ const FormControl = React.forwardRef< : `${formDescriptionId} ${formMessageId}` } aria-invalid={!!error} + className="relative" id={formItemId} ref={ref} {...props} @@ -152,7 +153,7 @@ const FormMessage = React.forwardRef< return (
( type={type} {...props} /> - + {placeholder}