Add strong typing to form field names (e.g. in getInputProps, watch) #8737
rivasd
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! thank you for this fantastic library!
We are using mantine to handle a big form in the application, and I noticed there are no strong typing checks for the many methods that ask a for a field name
I noticed that many other form libraries implement the behavior when an explicit form type or initialValues object is passed. I am by no means an expert but it seems Mantine already has a lot of the typing code necessary.
Would be great, otherwise we'd need to maintain a separate constant object with field names 😄
Beta Was this translation helpful? Give feedback.
All reactions