Why does the shadcn-ui form embrace controlled inputs? #3229
Unanswered
joshuarost
asked this question in
Q&A
Replies: 1 comment
-
I'm really wondering about the same thing. It feels like a big philosophical clash, and I'd love to learn more about the rationale behind this decision. @shadcn |
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
-
React-hook-form has been written to embrace the use of uncontrolled components. Is there a reason why shadcn-ui uses the
Controller
component to make every field controlled? @shadcnBeta Was this translation helpful? Give feedback.
All reactions