Why is there no "name" on the <input> in the examples? #1656
Unanswered
Sam-Kruglov
asked this question in
Q&A
Replies: 1 comment
-
Minor things like that can get overlooked easily! We also have some invalid nested elements spread throughout the documentation. If you see invalid HTML, feel free to open a PR to fix them! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is this the recommended way? I thought it's technically invalid HTML and I get warnings in chrome that input has no name.
I get that we're doing controlled form fields, so maybe it's intentional? Probably still better to include the name for a11y, but label value should be enough, so not sure.
e.g. https://tanstack.com/form/v1/docs/framework/react/examples/large-form
Beta Was this translation helpful? Give feedback.
All reactions