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 hidden (Show)

react-hook-form - Version 6.8.5

Published by bluebill1049 about 4 years ago

๐Ÿž fix #2968 issue with shallowFieldsStateRef remain empty with append action (#2970)
๐Ÿž fix #2972 issue around setValue's trigger not update async isValid (#2975)
๐Ÿž fix UnpackNestedValue type (#2986)
โŒจ๏ธ refactor UseFormMethods to arrow functions (#2899)
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป close #2990 improve dev mode warning (#2991)
๐Ÿฅ‚ improve useFieldArray and useWatch (#2997)

react-hook-form - Version 6.8.4

Published by bluebill1049 about 4 years ago

๐Ÿž fix #2961 with nested error with clearErrors API (#2962)
๐Ÿž fix #2958 with reset useFieldArray (shouldUnregister false) (#2959)
๐Ÿž fix #2955 with shallowFieldsStateRef get cached (#2956)
๐Ÿ’โ€โ™‚๏ธ close #2937 improve unregister behaviour with dirty fields (#2949)
๐Ÿž fix 2948 issue with isDirty formState reset by formValue (#2948)
๐Ÿž fix #2938 issue around compare error object (#2943)

react-hook-form - Version 6.8.3

Published by bluebill1049 about 4 years ago

Revert "๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป throw warning when watched input is not found (#2890)"
๐Ÿž fix #2918 isDirty/dirtyFields state with setValue/useFieldArray
๐Ÿž fix #2917 set value with hidden input and update tests

react-hook-form - Version 6.8.2

Published by bluebill1049 about 4 years ago

๐Ÿท add declaration types for ie11 (#2870)
๐Ÿž fix #2877 issue with dirtyFields with single node (#2882)
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป close #2884 & minor code improvement (#2883)
๐Ÿ’โ€โ™‚๏ธ improve DX with a warning message for isValid
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป throw a warning when watched input is not found (#2890)

react-hook-form - Version 6.8.1

Published by bluebill1049 about 4 years ago

๐Ÿž fix #2859 async isSubmitSuccessful (#2867)
๐Ÿฅบ include missing reset isSubmitSuccessful (#2857)

react-hook-form - Version 6.8.0

Published by bluebill1049 about 4 years ago

๐Ÿท feature: is successfully submitted (#2798)
๐Ÿฅ‚ feature: useFieldArray support shouldUnregister (#2691)
๐Ÿบ close #949 focus error while setError (#2816)
๐Ÿ’ก fix to output error message when as and render props are not given in Controller (#2854)
๐Ÿž fix reset updateFormState replacing isSubmitting (#2830)

react-hook-form - Version 6.7.2

Published by bluebill1049 about 4 years ago

๐Ÿž fix #2812 with submitting (#2814)
๐Ÿก add MutationObserver to interface stubs for React Native (#2807)
๐Ÿคž improve proxy state (#2818)

react-hook-form - Version 6.7.1

Published by bluebill1049 about 4 years ago

๐Ÿž fix(controller): close #2792 add isTouched argument (#2794)
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป close #2755 with radio input same name (#2790)
๐Ÿž fix issues #2785 #2755 (#2789)
๐Ÿ‘ฎโ€โ™€๏ธ enhance Controller props type (#2786)
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป removes redundant dependencies in append and remove of useFieldArray (#2780)

react-hook-form - Version 6.7.0

Published by bluebill1049 about 4 years ago

๐Ÿ… close 2730 improve clearErrors with exact option (#2765)

clearErrors('test.firstName')
clearErrors('test.lastName')
clearErrors('test', { exact: false }) // remove the entire `test` errors object

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป setError second argument as optional (#2766)
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป fix formState as dep (#2768)
๐Ÿž fix #2758 improve re-render with multiple trigger (#2763)
๐Ÿž fix #2754 group checkbox with defaultValues (#2761)
๐Ÿž fix #2757 setValue bug with shouldUnregister (#2760)

react-hook-form - Version 6.6.0

Published by bluebill1049 about 4 years ago

๐Ÿž fix #2740 issue with schema validation isValid formState (#2745)
๐Ÿž fix #2725 issue with dirty formState combined with watch API (#2736)
๐Ÿž fix 2729 prepend child FieldArray (#2734)
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป expose all types (#2733)
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Enrich warning messages under dev bulid (#2717)

react-hook-form - Version 6.5.3

Published by bluebill1049 about 4 years ago

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป fix ref destructure
๐Ÿž fix useFieldArray append diirtyFields issue (#2705)

react-hook-form - Version 6.5.2

Published by bluebill1049 about 4 years ago

๐Ÿš‚ export types and fix minor issues (#2703)
๐Ÿ™…๐Ÿฝโ€โ™‚๏ธ improve rollup config to support ie11 (#2702)
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป export FieldValues, FormStateProxy types from the main package (#2640)

react-hook-form - Version 6.5.1

Published by bluebill1049 about 4 years ago

๐Ÿž fix useWatch stale value (#2693)
๐Ÿ‘€ improved MutationObserver usage (#2670)

react-hook-form - Version 6.5.0

Published by bluebill1049 about 4 years ago

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป DX improvement with warning message link to the doc (#2677)
๐Ÿ’ช improve setValue with shouldUnregister (#2679)
๐Ÿž fix #2667 reset issue mutationObserver (#2668)
๐Ÿ’ช convert formState to use state (#2600)
๐Ÿž fix #2655 disable input
๐Ÿž fix #2631 reset with useFieldArray

react-hook-form - Version 6.4.1

Published by bluebill1049 about 4 years ago

๐Ÿž fix #2609 deepMerge with date type (#2610)
๐Ÿ† improve NestedValue type to support class type (#2635)
๐Ÿ’ฌ improve errors types to enable auto-complete (#2634)

react-hook-form - Version 6.4.0

Published by bluebill1049 about 4 years ago

๐ŸŽ‰ new feature onTouched mode (#2377)
๐ŸŽ‰ expose controller name in render prop (#2586)
๐ŸŽ‰ change ref compare only to web html input (#2588)
๐ŸŽ‰ invoke error handler when validation failed during form submission (#2532)

react-hook-form - Version 6.3.3

Published by bluebill1049 about 4 years ago

๐Ÿ‘€ close #2516 improve useWatch by stop caching name (#2571)
๐Ÿž fix #2565 issue with cached validate resolver (#2566)
๐Ÿž fix #2548 issue with isDirty formState (#2554)
๐Ÿคง fix ie build (#2551)
๐Ÿž fix #2538 formState with nested field array (#2539)

react-hook-form - Version 6.3.2

Published by bluebill1049 about 4 years ago

๐Ÿž fix #2541 ie build (#2542)
โœŒ๐Ÿป cast checkbox value to string explicitly (#2528)

react-hook-form - Version 6.3.1

Published by bluebill1049 about 4 years ago

โค๏ธ close #2509 reset with empty argument (#2514)
โ›‘ create global.d.ts that defined the DOM interfaces for ReactNative (#2518)
๐Ÿž fix #2512 regression with useFieldArray default values (#2517)
โŒจ๏ธ change from MutationWatcher to MutationObserver type (#2520)
๐ŸŽ‰ fixed error handling (#2470)
๐Ÿž fix a rollup config for ie11 (#2489)
๐Ÿ‘ป improved useWatch test (#2478)
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป improve console.warn with Controller (#2469)
๐Ÿ‘ป improved useFieldArray test (#2467)

react-hook-form - Version 6.3.0

Published by bluebill1049 about 4 years ago

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป improve DX with error/warn in development (#2461)
๐Ÿงป clean up logic for useFieldArray get default values (#2451)
๐Ÿž fix #2437 with data value merge (#2440)
๐Ÿž fix issue with pop with defaultValues
๐Ÿž fix #2443 with nested field array delete (#2445)
๐Ÿ™‰ fixed logic to output error message (#2447)
๐Ÿ’ช enhance error message #2426 (#2442)
๐Ÿงช more test coverage