Using Radix input components with form prop
#433
Unanswered
thomasst-osu
asked this question in
Q&A
Replies: 0 comments
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.
I am trying to link Radix input components to a
formelement located in a different part of the html, but it appears that this is not supported. My use case modifying data inside of an htmltablerow. Since I cannot wrap the entire row, I wanted to use theformprop to link the remote inputs to aformtag located in a different table cell, but it appears that the underlyinginputtag does not get rendered unless the Radix component is directly wrapped in aformtag.Is there a way to do this remote form linking?
Desired approach
This example is obviously for a checkbox, but I have also tried with the
<TextField>and<Select>components as well with no luck.A hidden input only gets included if I directly wrap the Radix component in a
formtag as below....and then theformprop still doesn't work.All reactions