Disabled, Loading and other custom states for Form and Field #1011
Unanswered
BlackRam-oss
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently using React Hook Form, but I wanted to move to TanStack-form because in addition to react, it can be used in various JS Framworks.
I noticed that even in TanStack-form the following options are missing:
This option would be appreciated by many developers, who use "Contexts" to change the state of one or more fields from a parent "container".
It would also be nice to set, in addition to the disabled and loading states, other custom states based on your needs. I think that this option is feasible after all, it should be enough to create a T1 object for each form and a T2 object for each field, adding functions to modify these objects and manage the rerenders, and giving the possibility to modify T1 and T2 with ".d.ts" files
Beta Was this translation helpful? Give feedback.
All reactions