TanStackT
TanStack10mo ago
8 replies
spontaneous-moccasin

Using hidden fields

Can't seem to find how you handle a hidden field that has a value set "inside" the field and not on the default values.

Use case i'm iterating over "delete" buttons and want to have a form for each thats initialized outside the UI, but with a hidden value corresponding to that "Delete" action.

Is there a simple way to achieve this with tanstack forms?
Was this page helpful?