Aymane Chaaba
Aymane Chaaba
@aronedwards91 When I write hard coded default values, it works, but with dynamic data, doesn't work
@aronedwards91 which data is cached?
@aronedwards91 they're talking about the select component, I'm dealing with a checkbox
@jackypan1989 @0Chan-smc That works for me now
@NatanCieplinski You're right, the issue is a react-hook-form issue, and default values need to be defined.
@thareekanvar that's what's in the docs. it uses Form and form It worked for me in my first form, but this second one doesn't get triggered
@thareekanvar Can you please give me a screenshot where they're mentioning that
@thareekanvar It doesn't work, shadcn uses both
@thareekanvar wanna jump in into the code?
It didn't work my friend, I have tried what u said, I hope it did