TanStackT
TanStack6mo ago
7 replies
injured-turquoise

Field type for further prop autcomplete

Hello all,

I have a questions. I have tanstack form created with createFormHook. I have InputFormField component provided by the form.
However when I use it like on screenshot it does not show me the props my InputFormField has. So I cannot qutocomplete them. Also if some prop of this field is mandatory - linter will not spot the error. Is there a way I can strictly type it?

Thank you in advance.
image.png
image.png
Was this page helpful?