diff --git a/ui/admin/app/components/composed/NameDescriptionForm.tsx b/ui/admin/app/components/composed/NameDescriptionForm.tsx index 9a2a443e..ad744e26 100644 --- a/ui/admin/app/components/composed/NameDescriptionForm.tsx +++ b/ui/admin/app/components/composed/NameDescriptionForm.tsx @@ -7,6 +7,7 @@ import { z } from "zod"; import { ControlledInput } from "~/components/form/controlledInputs"; import { Button } from "~/components/ui/button"; import { Form } from "~/components/ui/form"; +import { InputProps } from "~/components/ui/input"; const formSchema = z.object({ params: z.array( @@ -28,10 +29,14 @@ export function NameDescriptionForm({ defaultValues, onChange, addLabel = "Add", + nameFieldProps, + descriptionFieldProps, }: { defaultValues: Item[]; onChange: (values: Item[]) => void; addLabel?: string; + nameFieldProps?: InputProps; + descriptionFieldProps?: InputProps; }) { const form = useForm({ resolver: zodResolver(formSchema), @@ -63,6 +68,7 @@ export function NameDescriptionForm({ key={field.id} > form.setValue("additionalConfirmParams", values)