TanStack Form

i have a form, values in inputs can be specified by user manually but i would like to have as well an ability to pass value from for example zustand. Is that possible?
1 Reply
peculiarnewbie
Yes. What i would do is just have a field that is hidden from the user and you control the value with zustand. It also looks like you can pass "meta" parameters to handleSubmit. But i feel like that might be more cumbersome because you have to use value and meta on onSubmit. But depending on your use case you might like that

Did you find this page helpful?