diff --git a/src/components/ui/TextFieldMD3.tsx b/src/components/ui/TextFieldMD3.tsx index 230837f..c89304d 100644 --- a/src/components/ui/TextFieldMD3.tsx +++ b/src/components/ui/TextFieldMD3.tsx @@ -6,6 +6,7 @@ interface TextFieldMD3Props { error?: FieldError; registration: UseFormRegisterReturn; type?: 'text' | 'password'; + placeholder?: string; helpText?: string; helpTextPrefix?: React.ReactNode; required?: boolean; @@ -18,6 +19,7 @@ export function TextFieldMD3({ error, registration, type = 'text', + placeholder, helpText, helpTextPrefix, required, @@ -29,7 +31,7 @@ export function TextFieldMD3({ { }); }); }); - -// Placeholder type for the spy component — not actually used in tests -function StepIndicatorWithDispatch(_props: { dispatch: (action: { type: string; payload?: unknown }) => void }) { - return null; -} diff --git a/src/schemas/index.ts b/src/schemas/index.ts index eb0c4c4..bd02aa4 100644 --- a/src/schemas/index.ts +++ b/src/schemas/index.ts @@ -15,7 +15,7 @@ function buildZodSchema(backendType: BackendType): z.ZodObject