This PR addresses an issue with type inference in the register function of our form handling system. The changes improve type safety and ensure better compatibility with complex nested form structures.
Impact
These changes enhance the developer experience by providing more accurate type checking support when working with form fields, especially in complex nested structures.
Additional Notes
This update maintains backwards compatibility with existing form implementations while improving type safety for future development.
Fix type inference of value in register function
Description
This PR addresses an issue with type inference in the
register
function of our form handling system. The changes improve type safety and ensure better compatibility with complex nested form structures.Impact
These changes enhance the developer experience by providing more accurate type checking support when working with form fields, especially in complex nested structures.
Additional Notes
This update maintains backwards compatibility with existing form implementations while improving type safety for future development.