mirror of
https://github.com/hanzoai/sign.git
synced 2026-10-21 01:21:51 +00:00
react-hook-form 7.55 gave a form a third type, the values its resolver hands to submit, and Controller's props carry it. FormField still took two and passed ControllerProps<Values, Name>, which fixes the third to Values. Any form whose resolver returns anything else could not hand its control to a FormField: 97 errors in the app's typecheck and 42 in packages/ui, most of them one per field of every such form. FormField takes the third parameter and passes it on, as Controller does. Co-authored-by: Hanzo Dev <[email protected]>