npm react-hook-form 6.12.0
Version 6.12.0

⭐️ feature: valueAsNumber, valueAsDate & setValueAs (#3489)

register({ valueAsNumber: true });
register({ valueAsDate: true });
register({ setValueAs: (date) => data });

🤖 enhance #3439 with useWatch default value after reset (#3505)
👨🏻‍💻 fix controller type argument inference (#3501)
🐞 fix #3508 state update with watch (#3511)

latest releases: 7.0.0-beta.17, 7.0.0-beta.16, 7.0.0-beta.15...
3 months ago