react-hook-form

📋 React Hooks for form state management and validation (Web + React Native)

MIT License

Downloads
25.6M
Stars
39.4K
Committers
318

Bot releases are visible (Hide)

react-hook-form - Version 5.7.0

Published by bluebill1049 over 4 years ago

🐞 fix #1573 yup min length validation (#1609)
🐞 fix issue around error comparison during handle change (#1608)

react-hook-form - Version 5.6.3

Published by bluebill1049 over 4 years ago

🐞 fix #1583 with select in Edge (#1589)
🐞 fix getValues type for Controller (#1595)
🐞 fix #1588 controller touched state (#1590)

react-hook-form - Version 5.6.2

Published by bluebill1049 over 4 years ago

🐞 fix getValues type for FormContext (#1563)
🐞 fix #1585 around inital controller register (#1586)

react-hook-form - Version 5.6.1

Published by bluebill1049 over 4 years ago

🐞 fix #1551 getRadioValue throw error (#1552)
🐞 fix #1520 return proper proxy object (#1531)
🐞 fix get() for flat key name with empty string values (#1537)
🐞 fix use form issues (#1532)
🐞 fix #1525 memoize onFocus handler (#1527)
🐞 fix #1500 controller with useFieldArray during swap (#1510)
🐞 fix getValues type for FormContext (#1509)

react-hook-form - Version 5.6.0

Published by bluebill1049 over 4 years ago

👮‍♂️ TS: improve errors type for input file (#1493)
👮‍♂️ TS: improve register type (#1487)
👮‍♂️ TS: improve unregister type (#1486)
👮‍♂️ TS: improve clearError type (#1483)
👮‍♂️ TS: improve setError type (#1484)
🐞 fix issue with watch default value as object (#1480)
🐞 fix issue around checkbox throw error (#1479)
🥅 fix #1441 umd build process variable (#1444)

react-hook-form - Version 5.5.3

Published by bluebill1049 over 4 years ago

👮‍♂️ fix setValue type when use useFormContext (#1466)
🐞 fix #1464 validation schema return key as undefined (#1467)
🙏🏻 remove logic functions export (#1468)
🛎 improve triggerValidation type (#1463)
🐞 fix #1462 issue react native proxy (#1474)

react-hook-form - Version 5.5.2

Published by bluebill1049 over 4 years ago

💁‍♂️ enhance isNotFieldArray update (#1454)
🙆🏻‍♂️ useForm enhancement (#1448)
🔫 close #1455 enhance item unregister logic (#1458)
🐞 fix #1459: allow validationResolver and validationSchema cannot transform field values #1459

react-hook-form - Version 5.5.1

Published by bluebill1049 over 4 years ago

🐞 fix #1446 getValues type (#1449)
💅 enhancement: useForm code clean up. (#1393)

react-hook-form - Version 5.5.0

Published by bluebill1049 over 4 years ago

🛎 feature: support getValues by field name (#1328)
👮‍♂️ improve type getValues (#1436)
👮‍♂️ improve setValue type (#1412)
🐞 fix #1408 useFieldArray with Controller value gets reset (#1409)
🐞 fix #1432 with reset dirty fields (#1438)

react-hook-form - Version 5.4.2

Published by bluebill1049 over 4 years ago

🐞 fix #1404 reset default values with useFieldArray (#1405)

react-hook-form - Version 5.4.1

Published by bluebill1049 over 4 years ago

🎊 watch TS support improvement (#1397)
🐞 fix #1398 re-render Controller with SSR

react-hook-form - Version 5.4.0

Published by bluebill1049 over 4 years ago

🐞 fix useForm: #1302 issue around validation context cache (#1345)
🐞 fix useForm: issue when set input file with empty string (#1356)
🐞 fix useForm: #1376 watch default value relied on dirty formState (#1384)
🐞 fix useFieldArray: #1359 issue around unset empty array item (#1361)
😱 fix useFieldArray: deep property names in useFieldArray (#1377)
🐞 fix useFieldArray: #1375 useFieldArray reset fields issue (#1385)
🐞 fix useFieldArray: #1394 useFieldArray issue with remove callback due to name (#1395)
🐞 fix useFieldArray: formState -> dirty fields (#1373)
🚓 improve useFieldArray: internal TS improvement (#1351)
🛃 improve useFieldArray: improve insert and prepend type (#1383)
🐞 fix #1366 useFieldArray with watch return empty array (#1370)
🦖 fix Controller: #1341 eslint and improve Controller internal logic (#1342)

react-hook-form - Version 5.3.1

Published by bluebill1049 over 4 years ago

🐞 fix issues caught by automation with useFieldArray (#1343)
🐞 fix #1333 web issue around reset with radio and checkbox only (#1338)

react-hook-form - Version 5.3.0

Published by bluebill1049 over 4 years ago

📡 feature: allow Controller to be focused while there is an error (#1296)

Docs: https://react-hook-form.com/api#Controller -> onFocus
Demo: https://codesandbox.io/s/react-hook-form-controller-auto-focus-5tru5

🐼 close #1288 to improve array field delete (#1315)
🛃 improve lib's TS (#1318)
🐞 fix/compare error object (#1326)
🤝 prevent DeepPartial from recursively deep partialing primitive values. (#1327)
🐞 fix #1336 watch all with useFieldArray (#1337)
💪 improve watch() with useFieldArray (#1339)

react-hook-form - Version 5.2.0

Published by bluebill1049 over 4 years ago

🎇 allow React.ReactElement/JSX in register option's message & setError (#1275)
🎊 fix #1290 with useFieldArray watch issue (#1293)
🏋🏻‍♂️ loss some weight 8.43kb -> 8.3kb
🐞 fix #1262 change radio options cause exception (#1263)
✌🏻 improve handleSubmit with for of (#1268)
🍷 improve validate function with for loop (#1273)
🎆 fix #1276 a issue caused by testcafe's runtime (#1277)
🐞 fix #1278 issue around remove multiple fields at useFieldArray (#1279)
🗿fix keyName without clobbering the data when it's already present (#1281)

react-hook-form - Version 5.1.3

Published by bluebill1049 over 4 years ago

😭 remove FormContext console.warn until we have a better solution https://github.com/react-hook-form/react-hook-form/issues/1261

react-hook-form - Version 5.1.2

Published by bluebill1049 over 4 years ago

🍷 TS: add missing OmitResetState form state (#1217)
🐞 fix #1213 validation rule inconsistency (#1220)
🐞 fix #1224 issue around pre-pend (#1227)
👨🏻‍💻 close #1203 disable fields clean up under dev mode (#1228)
🐞 fix #1229 to trigger re-render for formState update (#1230)
🐞 fix #1231 watch with nested object name (#1232)
👍🏻 improve Touched type for formState (#1233)
🐚 improve type for validationResolver and validationSchema (#1239)
🗑 remove unnecessary Promise.resolve in handleSubmit (#1251)

react-hook-form - Version 5.1.1

Published by bluebill1049 over 4 years ago

🐞 fix issue around context console warning

react-hook-form - Version 5.1.0

Published by bluebill1049 over 4 years ago

🥂 feature/reset omit state update (#1139)
This feature allows you to reset the form value without resetting the formState
reset({}, { dirty, touched })

👍🏻 fix useFormContext to not throw an error (#1202)
⌨️ types for async validation resolver (#1195)
⛽️ re-regeister controlled component on validation rule change (#1187)
🐞 fix/use field array dirty fields remove (#1189)
👍🏻 improve FieldErrors type (#1182)
🎂 fix FieldErrors to allow any type (#1178)

react-hook-form - Version 5.0.3

Published by bluebill1049 over 4 years ago

🐞 fix #1175 on error unset (#1176)