๐ React Hooks for form state management and validation (Web + React Native)
MIT License
Bot releases are visible (Hide)
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)
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)
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
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)
Published by bluebill1049 about 4 years ago
๐ fix #2859 async isSubmitSuccessful (#2867)
๐ฅบ include missing reset isSubmitSuccessful (#2857)
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)
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)
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)
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)
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)
Published by bluebill1049 about 4 years ago
๐จ๐ปโ๐ป fix ref destructure
๐ fix useFieldArray append diirtyFields issue (#2705)
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)
Published by bluebill1049 about 4 years ago
๐ fix useWatch
stale value (#2693)
๐ improved MutationObserver
usage (#2670)
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
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)
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)
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)
Published by bluebill1049 about 4 years ago
๐ fix #2541 ie build (#2542)
โ๐ป cast checkbox value to string explicitly (#2528)
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)
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