I'm using tanstack form + shadcn + zod.
I have a multi-step form and in the third step I have a "select your confirmation method" step to choose between "Email" or "Sms" radio buttons.
For my method variable I have assigned a "" (empty string") but I loose the type-safety because it should be "sms" | "email" and I got a bunch of issues in other functions due to the loose of the type.
Any workaround to tell tanstack form that a specific field is from a enum?