We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@mantine/form
The type for useForm returned by createFormContext does not take the type of TransformValues into consideration.
useForm
createFormContext
TransformValues
5.7.0
No response
Yes
No
I think that this change should help: https://github.com/mantinedev/mantine/blob/master/src/mantine-form/src/FormProvider/FormProvider.tsx#L34 UseForm<Values> -> UseForm<Values, TransformValues>
UseForm<Values>
UseForm<Values, TransformValues>
The text was updated successfully, but these errors were encountered:
Thanks for reporting
Sorry, something went wrong.
@rtivital I will be working on this issue
@rtivital I have opened a pr #2893
Fixed in 5.7.1
No branches or pull requests
What package has an issue
@mantine/form
Describe the bug
The type for
useForm
returned bycreateFormContext
does not take the type ofTransformValues
into consideration.What version of @mantine/hooks page do you have in package.json?
5.7.0
If possible, please include a link to a codesandbox with the reproduced problem
No response
Do you know how to fix the issue
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix
No
Possible fix
I think that this change should help:
https://github.com/mantinedev/mantine/blob/master/src/mantine-form/src/FormProvider/FormProvider.tsx#L34
UseForm<Values>
->UseForm<Values, TransformValues>
The text was updated successfully, but these errors were encountered: