diff --git a/app/components/ui/input.tsx b/app/components/ui/input.tsx index 3a7ee75..490954d 100644 --- a/app/components/ui/input.tsx +++ b/app/components/ui/input.tsx @@ -1,3 +1,4 @@ +import { Field, Label, Input as UIInput } from '@headlessui/react' import { useState, type ComponentProps, type ReactNode } from 'react' import { get, @@ -33,6 +34,7 @@ export const Input = >( rules, type = 'text', placeholder, + disabled, ...rest } = properties const [inputType, setInputType] = useState(type) @@ -45,15 +47,15 @@ export const Input = >( const error: FieldError = get(errors, name) return ( -
-
+ ) }