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 7.3.4

Published by bluebill1049 over 3 years ago

๐Ÿž fix #4957 radio/checkbox gets unregistered until all unmounted (#4959)

react-hook-form - Version 7.3.3

Published by bluebill1049 over 3 years ago

๐Ÿž fix formState gets reset during shouldUnregister: true mode (#4949)

react-hook-form - Version 7.3.2

Published by bluebill1049 over 3 years ago

๐Ÿž fix #4947 with missing register options (#4948)

react-hook-form - Version 7.3.1

Published by bluebill1049 over 3 years ago

Revert "๐Ÿ› fix toggle Controller value in useFieldArray (#4861)" (#4945)
๐Ÿ‘ป fix #4938 issue with watch internal measure against components mounted (#4939)

react-hook-form - Version 7.3.0

Published by bluebill1049 over 3 years ago

๐Ÿ•บ trigger result validation output (#4856)

const output = await trigger('fieldName');

๐Ÿ› fix toggle Controller value in useFieldArray (#4861)
๐Ÿ› fix #4912 watch return undefined due to reset (#4921)
๐Ÿž fix #4929 input freeze with shouldUnregister: true issue with watch useFieldArray (#4930)
๐Ÿ‘ป fix trigger with every filter and update unit tests (#4937)

react-hook-form - Version 7.2.3

Published by bluebill1049 over 3 years ago

โŒจ๏ธ fix #4895 remove incorrect type for validation return messages

react-hook-form - Version 6.15.7

Published by bluebill1049 over 3 years ago

๐Ÿž V6: useFieldArray with nested useFieldArray renders with fields

react-hook-form - Version 7.2.2

Published by bluebill1049 over 3 years ago

๐Ÿž fix #4865 validation skip for custom set error message (#4892)
๐Ÿงค fix issue with unregister input during watch action (#4890)
๐Ÿ‘Œ fix regression #4885 regression on isDirty (#4886)
๐Ÿคฒ improve behaviour on shouldUnregister (#4876)
๐Ÿž fix #4864 issue with Controller getting unregister with shouldUnreiister: true at useForm (#4873)
๐Ÿ“ผ useForm shouldUnregister: true (#4847)

react-hook-form - Version 7.2.1

Published by bluebill1049 over 3 years ago

๐Ÿž fix #4859 issue with reset trigger unregister subscription (#4860)

react-hook-form - Version 7.2.0

Published by bluebill1049 over 3 years ago

๐ŸŽ‰ config shouldUnregister (#4758)

// global config
useForm({
  shouldUnregister: true // default to true
});

// component level 
useController({
  shouldUnregister: true // default to true
})

<Controller shouldUnregister={true} />

useFieldArray({
  shouldUnregister: true // default to true
})

register('name', { shouldUnregister: true  })

๐Ÿž fix #4812 issue with unmounted useFieldArray fetch incorrect value
๐ŸŽ improve perf by skip logic with pure input without validation (#4838)
๐Ÿž fix #4830 getIsDirty() during the reset action (#4836)
๐Ÿž make it work with TaroJs (#4825)

react-hook-form - Version 7.1.1

Published by bluebill1049 over 3 years ago

๐Ÿ™๐Ÿป fix register option for register validation inputs (#4805)
๐Ÿž fix #4795 isValid not return correctly during onMount useEffect (#4804)

react-hook-form - Version 6.15.6

Published by bluebill1049 over 3 years ago

๐Ÿž fix #4792 issue with nested field array append

react-hook-form - Version 7.1.0

Published by bluebill1049 over 3 years ago

โœจ close #4120 useForm setFocus method (#4623)
๐Ÿž fix #4772 reset at root level of registered field (#4784)
๐Ÿž fix #4762 useWatch deep nested object watch (#4764)
๐Ÿž fix #4752 defaultChecked for radio and checkbox (#4756)

react-hook-form - Version 7.0.7

Published by bluebill1049 over 3 years ago

๐Ÿž update package.json - fix exports (#4737)
โ˜‘๏ธ fix #4375 inline defaultChecked (#4736)

react-hook-form - Version 7.0.6

Published by bluebill1049 over 3 years ago

๐Ÿง‘โ€๐Ÿ’ป improve register DX when ref is not registered (#4733)
๐Ÿ‘ทโ€โ™‚๏ธ simplify the build process (#4723)
โŒจ๏ธ fix typings for watch (#4721)
๐Ÿ› fix can not reuse a regexp with g flag as pattern (#4714)

react-hook-form - Version 7.0.5

Published by bluebill1049 over 3 years ago

โŒจ๏ธ fix #4705 watch type for defaultValue (#4707)
๐Ÿž fix #4703 useWatch cache with previous name (#4706)
๐Ÿ‘ป close #4696 with ref callback type error (#4697)
๐Ÿ’ช๐Ÿป reduce code check for error object and reduce re-render (#4689)
๐Ÿ‹๐Ÿปโ€โ™€๏ธ move error check file to inline and save size (#4685)
๐Ÿž fix #4679 isValid with custom register (#4684)
๐Ÿž fix #4665 input file required validation (#4666)

react-hook-form - Version 7.0.4

Published by bluebill1049 over 3 years ago

๐Ÿ› fix 4653 valueAsNumber with required validation (#4660)
๐Ÿ› fix #4653 by prevent spread primitive data (#4658)
๐Ÿค™ close #4646 useWatch infinite loop (#4656)
๐Ÿ•น fix controller's rules type (#4645)

react-hook-form - Version 7.0.3

Published by bluebill1049 over 3 years ago

๐Ÿž fix #4627 validate for input number 0 (#4641)
๐Ÿž fix #4617 input date type issue with React (#4640)
๐Ÿž fix #4637 when reset field array with setValue (#4639)

react-hook-form - Version 7.0.2

Published by bluebill1049 over 3 years ago

๐Ÿž fix #4628 useController/controller issue with dirtyFields (#4635)

react-hook-form - Version 7.0.1

Published by bluebill1049 over 3 years ago

๐Ÿ’ช๐Ÿป #4603 Should return boolean value "true" for checkbox that has empty string value of attribute "value" (#4614)
๐Ÿž fix #4597 watch intercept dirty return value (#4612)
๐Ÿž fix #4599 useController/Controller type check with render prop (#4600)
๐Ÿ’ก refactor: add eslint plugin to sort imports / exports (#4605)