The useForm isnt allowing me to just give it a type it requires me to give all 11 arguments #1206
-
Anyone else has the same issue?? |
Beta Was this translation helpful? Give feedback.
Answered by
Balastrong
Mar 3, 2025
Replies: 1 comment 1 reply
-
You shouldn't pass a generic there, use it this way: const form = useForm({
defaultValues: {
name: '',
alias: "",
} as Partner,
}); more in the docs |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Balastrong
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You shouldn't pass a generic there, use it this way:
more in the docs