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
-
I am trying to link Radix input components to a
form
element located in a different part of the html, but it appears that this is not supported. My use case modifying data inside of an htmltable
row. Since I cannot wrap the entire row, I wanted to use theform
prop to link the remote inputs to aform
tag located in a different table cell, but it appears that the underlyinginput
tag does not get rendered unless the Radix component is directly wrapped in aform
tag.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
form
tag as below....and then theform
prop still doesn't work.Beta Was this translation helpful? Give feedback.
All reactions