Skip to content

Commit 9a7f91a

Browse files
alaisterclaude
andcommitted
Upgrade final-form to v5 for react-final-form compatibility
react-final-form v7 requires final-form ^5.0.0 as a peer dependency. Also fixed UseFieldConfig type which is no longer generic in v5. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f990904 commit 9a7f91a

3 files changed

Lines changed: 6 additions & 84 deletions

File tree

website/components/forms/FormInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface FormInputProps extends PropsWithoutRef<
1515
type?: 'text' | 'password' | 'email' | 'number'
1616
outerProps?: PropsWithoutRef<JSX.IntrinsicElements['div']>
1717
labelProps?: ComponentPropsWithoutRef<'label'>
18-
fieldProps?: UseFieldConfig<string>
18+
fieldProps?: UseFieldConfig
1919
}
2020

2121
const FormInput = forwardRef<HTMLInputElement, FormInputProps>(

0 commit comments

Comments
 (0)