Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Releases: wellyshen/react-cool-form

v0.0.129

02 Mar 15:57
56e9da0
Compare
Choose a tag to compare

Patch Changes

  • 8ae1f76 #436 Thanks @wellyshen! - Fix(useForm): single checkbox input with valid value attribute, the value will be a string array
<input name="foo" type="checkbox" /> // If it's checked, the output value will be true otherwise false
<input name="foo" type="checkbox" value="test" /> // If it's checked, the output value will be ["test"] otherwise []

v0.0.128

01 Mar 06:43
79a9204
Compare
Choose a tag to compare

✨ New Feature

v0.0.127

28 Feb 17:07
Compare
Choose a tag to compare

💥 Breaking Change

The controller method of the useForm hook has been removed, if you have used it to handle any controlled components, please use the new useControlled hook instead.

✨ New APIs

🐛 Bug Fixing

  • Fix(useForm): do not trigger re-rendering when parsing value from a field's defaultValue attribute
  • Fix(type): correct the parse option type of the field method

v0.0.126

26 Feb 12:27
2e726c6
Compare
Choose a tag to compare

Patch Changes

  • fe7942d Thanks @wellyshen! - Fix(useForm): fix potential side-effect of the values of form state

v0.0.125

24 Feb 13:50
5c7a953
Compare
Choose a tag to compare

Patch Changes

v0.0.124

23 Feb 16:07
7a718a1
Compare
Choose a tag to compare

Patch Changes

  • ed388fb Thanks @wellyshen! - Refactor(useFormState): use error instead warn for form id related exceptions

v0.0.123

21 Feb 08:34
756f9ec
Compare
Choose a tag to compare

Patch Changes

v0.0.122

20 Feb 17:19
ea92b30
Compare
Choose a tag to compare
  • Feat: new useFormState hook to help you improve performance by isolating re-rendering at the component level

v0.0.121

19 Feb 17:36
828e52c
Compare
Choose a tag to compare

Patch Changes

v0.0.120

17 Feb 15:28
dc5801f
Compare
Choose a tag to compare

Patch Changes

  • 090f275 Thanks @wellyshen! - Refactor(useForm): do not unset subscribed state for conditional component