- #697
87eb83e
Thanks @wellyshen! - fix:reset
method not working
- #654
291199a
Thanks @wellyshen! - feat(useForm): addshouldFocus
option forrunValidation
method
- #640
61e1d53
Thanks @wellyshen! - refactor(types): useRefObject
as the type ofform
method
- #633
bcb718a
Thanks @wellyshen! - Refactor(useForm): turn theshouldValidate
parameter ofsetTouched
to object for the purpose of API consistency
- #619
8807efd
Thanks @wellyshen! - Refactor(types): export more types
- #615
712bb21
Thanks @wellyshen! - Refactor(types): use overloads for the type ofuseFormState
and thefield
method ofuseForm
- #610
072da4b
Thanks @wellyshen! - Refactor(useForm): renamemon
touse
- #572
2401051
Thanks @wellyshen! - Refactor(form-state): resetisSubmitted
state when the user attempts to submnit the form
- #570
21bac87
Thanks @wellyshen! - Refactor(useForm): renamedebug
event toonStateChange
- #568
d6bcac6
Thanks @wellyshen! - Feat(useForm): newremoveOnUnmounted
option
35516ad
Thanks @wellyshen! - Fix(useFieldArray): reset values not working for conditional fields
c865f58
Thanks @wellyshen! - Refactor: remove "missing field name" warnings
- #565
f1796dd
Thanks @wellyshen! - Fix(useForm): reset form will causeundefined
form values
- #562
310cecf
Thanks @wellyshen! - Fix(useForm): automatically remove array fields getting wrong form values
- #555
546645a
Thanks @wellyshen! - Fix(useControlled): value not updated when working with conditional fields and setting default value fromdefaultValue
option
- #553
6b33570
Thanks @wellyshen! - Fix(useControlled): sync field value with its default value for a conditional field
- #556
b3edba8
Thanks @wellyshen! - Fix(useControlled): do not update default value when working with field-array
- #551
e285de3
Thanks @wellyshen! - Refactor: reduce bundle size
- #549
b1cfeae
Thanks @wellyshen! - Feat(useForm): newremoveField
API
- #542
2e008df
Thanks @wellyshen! - Refactor: reduce bundle size
2a18eca
Thanks @wellyshen! - Refactor(useForm): reduce re-rendering times when a field un-mounted
088842d
Thanks @wellyshen! - Fix(useFormState): unsubscribe the hook when the component is unmounted
3fb100e
Thanks @wellyshen! - Fix(useForm):mon("submitCount")
not triggering re-rendering
f457e82
Thanks @wellyshen! - Fix(useControlled): form-level default value might not working with conditional fields
b3ec2f7
Thanks @wellyshen! - Refactor(useForm): reduce bundle size
b31f0a2
Thanks @wellyshen! - Fix(useForm): should remove form-level default value for conditional fields
b2d04e8
Thanks @wellyshen! - Fix(useForm): when multiplemon
method are using, only the latest one can work
- #536
ed0a7a6
Thanks @wellyshen! - Fix(useForm): when dynamically hidding a fieldgetState
method will get default value
- #535
7491432
Thanks @wellyshen! - Refactor(useForm): deprecate theshouldFocus
parameter ofrunValidation
API
341aa21
Thanks @wellyshen! - Refactor: refine the warning of gettingvalues
only
9dc4993
Thanks @wellyshen! - Refactor(useFormState): code refactor for smaller bundle size
- #530
62762d0
Thanks @wellyshen! - Fix(useFormState):errorWithTouched
option not works in some cases
- #529
dc35110
Thanks @wellyshen! - Feat(useForm): addshouldFocus
forrunValidation
API
- #532
4c6fe9e
Thanks @wellyshen! - Fix(useForm): do not warn missing name when excluding a field via data attribute
- #527
10af065
Thanks @wellyshen! - Fix(useForm): delay = 0 is acceptable byfocus
method
- #519
5539448
Thanks @wellyshen! - Feat(useForm): newsetFocus
API
06e66f3
Thanks @wellyshen! - Fix(useForm): when working with nested fields, built-in validation results are overrided
7de1f62
Thanks @wellyshen! - Docs(readme): add arrays-and-lists feature
- #518
cf7980f
Thanks @wellyshen! - Fix(useForm): when running field validation with nested field(s), error results will be overrided by the last field
c2459ee
Thanks @wellyshen! - Refactor(types): renameMap
toObjMap
642650c
Thanks @wellyshen! - Fix(useFieldArray): avoid touched and dirty values are set at negative index when usingpush
method
d914de6
Thanks @wellyshen! - Fix(useFieldArray): field value not displayed when setting default value viauseFieldArray
hook
98cd462
Thanks @wellyshen! - Docs(readme): update features section
cd8755b
Thanks @wellyshen! - Fix(useFieldArray): correct form ID warning message
bfab667
Thanks @wellyshen! - Feat: new on form-state change event mode foruseFormState
hook
- #499
38cfd17
Thanks @wellyshen! - Feat(useFieldArray): provide simpler API
- #494
40e9b76
Thanks @wellyshen! - Feat: shortcut for getting form's values
- #492
4f0dbaf
Thanks @wellyshen! - Fix(useForm): throw multiple warning when getting form values withmon
method
68b340a
Thanks @wellyshen! - Fix(useFieldArray): correct the type of return values
- #489
1eee601
Thanks @wellyshen! - Fix(useFieldArray): fields not updated by helper methods
- #487
2d70034
Thanks @wellyshen! - Feat(useFieldArray): better API for fixing the side-effect of React keys and lists
4f9ae54
Thanks @wellyshen! - Fix(useFieldArray): reset fields not working properly
c5a700f
Thanks @wellyshen! - Fix(useForm): reserve the default value of field-array fromremoveField
method
- #481
90afddc
Thanks @wellyshen! - Fix(useFieldArray): reset not working
- #484
d5d68bc
Thanks @wellyshen! - Fix(useControlled): controlled components not working with field-array
- #474
b6f7589
Thanks @wellyshen! - Feat(useForm): renameselect
method towatch
for better understanding
- #474
3cdcd1b
Thanks @wellyshen! - Changeselect
method tomon
(a.k.a monitor)
2d0ba41
Thanks @wellyshen! - Fix(useForm): wrong form values due to automatically remove a field
9bb9992
Thanks @wellyshen! - Refactor: refine warning messages
889e331
Thanks @wellyshen! - Fix(utils): the side-effect ofcloneObject
d808960
#466 Thanks @wellyshen! - Fix(useForm):isDirty
not working with array type form values
c066ecc
Thanks @wellyshen! - Refactor: reduce bundle size
c4724a0
Thanks @wellyshen! - Refactor(useForm): skip unnecessary set state logic forreset
method
573ab7b
#461 Thanks @wellyshen! - Fix(useForm): keep the value of a conditional field whenshouldRemoveField
option set tofalse
'
ae11590
Thanks @wellyshen! - Refactor: refine missing "name" warnings
742ac71
#451 Thanks @wellyshen! - Fix(useForm): conditionalcheckbox
,radio
, andselect
not working properly
cdf5808
Thanks @wellyshen! - Refactor(utils): clear the redundantempty
orundefined
element(s) of an array
6dc3cca
Thanks @wellyshen! - Fix(useForm): clear theempty
element from the array type of form values
91cfe37
Thanks @wellyshen! - Fix: empty array values foruseForm
hook andset
utility function
ada163b
Thanks @wellyshen! - Feat(types): enhance the readability of type
d723cf0
#447 Thanks @wellyshen! - Feat(unset): remove the ancestry path of the unset property if needed
0e14ea7
#444 Thanks @wellyshen! - Feat: when only on form hook is using, the form id is not required anymore
723dceb
Thanks @wellyshen! - Refactor(useControlled): use React.FocusEventHandler for the return props
8ae1f76
#436 Thanks @wellyshen! - Fix(useForm): single checkbox input with validvalue
attribute, the value will be a string array
b3554f2
#433 Thanks @wellyshen! - Feat(useForm): addid
andclass
for theexcludeFields
option
fe7942d
Thanks @wellyshen! - Fix(useForm): fix potential side-effect of the values of form state
eb767bd
Thanks @wellyshen! - Fix(useForm): fix set default values side-effect
ed388fb
Thanks @wellyshen! - Refactor(useFormState): use error instead warn for form id related exceptions
e7795c3
Thanks @wellyshen! - Fix(useFormState): correct the URL of warnings
3f92f38
Thanks @wellyshen! - Feat: newuseFormState
hook
cc3eb6c
Thanks @wellyshen! - Feat(useForm): addfalse
type for form validator
090f275
Thanks @wellyshen! - Refactor(useForm): do not unset subscribed state for conditional component
d4c7258
#405 Thanks @wellyshen! - Fix(useForm): should calldebug
on every state changed
b0a5141
#403 Thanks @wellyshen! - Refactor(useForm): do not trigger re-renders on reset if no any selected state
1d4e794
#397 Thanks @wellyshen! - Fix(useForm):dirty
andisDirty
state not work correctly with reference type values
5797ca4
#394 Thanks @wellyshen! - Feat(useForm): add "select" method
645b5f4
#391 Thanks @wellyshen! - Refactor: refine types
38f64a8
#384 Thanks @wellyshen! - Fix(useForm): prevent errors from callinge.preventDefault()
ande.stopPropagation()
when usingsubmit
orreset
methods
87f7814
#360 Thanks @wellyshen! - Fix(useState): triggerdebug
callback whenever form state changed
a90c405
#350 Thanks @wellyshen! - Fix(useForm): should warn for missing field name
841e904
#345 Thanks @wellyshen! - Feat(useForm): support non element
1d6d0ae
#341 Thanks @wellyshen! - Fix(useForm): conditional form not working
26284c3
#335 Thanks @wellyshen! - Feat(useForm): changeignoreFields
toexcludeFields
& changedata-rcf-ignore
todata-rcf-exclude
34b1eb5
Thanks @wellyshen! - Fix(useForm): exclude "button" type from form fields parser
facc86e
#332 Thanks @wellyshen! - Feat(useForm): exportsetDirty
method
649c03d
Thanks @wellyshen! - Fix(utils): correct the logic of mergingobject
witharray
05cb324
Thanks @wellyshen! - Refactor(useForm): code refactor forsetTouched
68ccf7f
Thanks @wellyshen! - Fix(utils): excludeDate
fromisPlainObject
3d37b97
#329 Thanks @wellyshen! - Fix(utils): correct the logic ofunset
64eccdb
Thanks @wellyshen! - Docs(readme): add demo gif
db18bfa
#328 Thanks @wellyshen! - Fix(utils): unset all types of value
a33fd6f
Thanks @wellyshen! - Docs(readme): update demo gif
0f534a9
#327 Thanks @wellyshen! - Fix(utils): handleunset
exception
448f554
#321 Thanks @wellyshen! - Fix(utils): set array type value correctly
6755695
#322 Thanks @wellyshen! - Fix(utils): set object type value correctly
414c489
#319 Thanks @wellyshen! - Refactor(utils): removesetTrueValues
utility function
02f25a3
#312 Thanks @wellyshen! - Refactor(useForm): require value forsetValue
andsetError
d69188b
Thanks @wellyshen! - Refactor(useForm): remove unnecessary logic
ad7336a
#311 Thanks @wellyshen! - Feat(useForm): rename the option ofgetState
fromfilterUntouchedError
toerrorWithTouched
83c2474
#303 Thanks @wellyshen! - Feat(useForm): removesetValues
andsetErrors
c623681
#306 Thanks @wellyshen! - Feat(useForm): addsetTouched
method
0bec8fd
#307 Thanks @wellyshen! - Feat(useForm): addclearErrors
method
817f762
Thanks @wellyshen! - Refactor(useForm): renamesetFieldDirty
tosetDirty
6936727
#305 Thanks @wellyshen! - Feat(useForm): changesetFieldValue
tosetValue
& changesetFieldError
tosetError
1c30b23
#308 Thanks @wellyshen! - Feat(useForm): combinevalidateField
andvalidateForm
intorunValidation
d3c8247
#301 Thanks @wellyshen! - Fix(useForm): pass all parameters back to theonChange
handler of thecontroller
API
e331cde
#299 Thanks @wellyshen! - Perf(useState): delete used state when a field is removed
8237117
Thanks @wellyshen! - Docs(readme): update to-do
9c1e7ce
#293 Thanks @wellyshen! - Refactor(type): enhance types
569167b
#297 Thanks @wellyshen! - Refactor(utils):cloneObject
will not handle event object
e75aeb7
Thanks @wellyshen! - Docs(readme): update features
4399c18
#296 Thanks @wellyshen! - Feat(useForm): renamedirtyFields
state and option todirty
0901fc3
#291 Thanks @wellyshen! - Feat(useForm): adjust theparse
andonChange
APIs of thecontroller
method
5000470
#295 Thanks @wellyshen! - Feat(useForm): rename the option ofsetValues
fromtouchedFields
totouched
e1cd135
#294 Thanks @wellyshen! - Feat(useForm): renameremoveUnmountedField
toshouldRemoveField
f537695
#288 Thanks @wellyshen! - Fix(useForm): can not clear field(s) due to the side-effect of caching paths
ad0fa46
#287 Thanks @wellyshen! - Perf(utils): cache converted pathes
abd1f39
#285 Thanks @wellyshen! - Fix(useForm): skip warning for field withdata-rcf-ignore
baf7fcf
#284 Thanks @wellyshen! - Fix(useForm): unset nested array value
6bf0e46
#283 Thanks @wellyshen! - Fix(useForm): do not count thevalid
key as error when use built-in validation with state mode
fdd269c
#279 Thanks @wellyshen! - Fix(useForm): correc the type ofsetFieldValue
b3e2257
#278 Thanks @wellyshen! - Refactor(types): changeErrors
toFormErrors
cf0dc60
#276 Thanks @wellyshen! - Perf(useForm): avoid unnecessary re-renders when getting empty state
1600d0a
#277 Thanks @wellyshen! - Fix(useForm): handlegetState
exception
cf4b645
Thanks @wellyshen! - Refactor(types): re-order types
3a24549
Thanks @wellyshen! - Fix(useForm): fix variable typo
531aa74
Thanks @wellyshen! - docs(readme): change milestone to to-do
e267f75
#272 Thanks @wellyshen! - Feat(useForm): changeconfig
from required to optional
89a0647
Thanks @wellyshen! - Docs(readme): update bundle size
a3b7228
#271 Thanks @wellyshen! - refactor(types): adjust .d.ts
cf8d06e
#269 Thanks @wellyshen! - Fix(useForm): default value attribute not working when reset form
46bad87
Thanks @wellyshen! - Refactor(useForm): narrow down warning link URL
f6a8ed5
Thanks @wellyshen! - Docs: update links
028b95e
#265 Thanks @wellyshen! - Perf(useForm): do not trigger re-rendering when imperatively setting the same values
f6b97a2
#266 Thanks @wellyshen! - Fix(useForm): updatedefaultValues
byreset(nextValues)
2d25b4a
#267 Thanks @wellyshen! - Perf(useForm): do not triggerisValidating
when running field-level validation
6c73fb0
#262 Thanks @wellyshen! - fix(useForm): field updating laggy due to conditional fields
f8fe312
Thanks @wellyshen! - docs(readme): remove badge
74c6bd5
#260 Thanks @wellyshen! - feat(useForm): addbuiltInValidationMode
option
42e3844
Thanks @wellyshen! - docs(readme): remove warning
aa86eee
Thanks @wellyshen! - docs(readme): fix broken links
8af3145
#255 Thanks @wellyshen! - feat(types): export more types
c487230
#253 Thanks @wellyshen! - feat(useForm): add field-names callback for the option ofsetValues
8cde001
#256 Thanks @wellyshen! - refactor(types): enhance the readability of type
8588512
#250 Thanks @wellyshen! - refactor(useForm): useformState
instead of thegetState
method for event handlers
c09d541
#252 Thanks @wellyshen! - refactor(useForm): consist event's options
8da0654
#248 Thanks @wellyshen! - perf(useForm): performance optimizing
d87a6bf
#247 Thanks @wellyshen! - perf(useForm): minimize the re-renders ofsetValues
099ac5c
#245 Thanks @wellyshen! - fix(useForm): include non form input elements into the set all touched ofsubmit
476890f
Thanks @wellyshen! - fix(type): correct the type ofvalidateField
8398e39
Thanks @wellyshen! - docs(readme): update example
5e02e6e
Thanks @wellyshen! - docs(readme): update warning
649d336
Thanks @wellyshen! - docs(readme): correct grammer
0125f87
#237 Thanks @wellyshen! - feat(useForm): addremoveUnmountedField
config
02a759e
#236 Thanks @wellyshen! - fix(useForm): crash due to undefined field parsers
43bc612
#234 Thanks @wellyshen! - fix(useForm): dynamic fields not working
167fcb6
#232 Thanks @wellyshen! - refactor(useForm): changegetState
's option name fromfilterUntouchedErrors
tofilterUntouchedError
9f40af2
Thanks @wellyshen! - docs(readme): update features and example
155a140
Thanks @wellyshen! - refactor(useForm): add more information link forgetState
d23eef5
Thanks @wellyshen! - docs(readme): update the demo link of example
cedfe8a
Thanks @wellyshen! - docs: update readme and document site
acc5b4e
Thanks @wellyshen! - docs: add form-level validation
a2ccfd0
Thanks @wellyshen! - docs: sync examples with demo apps
11a779e
#222 Thanks @wellyshen! - refactor(useForm): reduce unnecessary renders forgetState
f702cc8
Thanks @wellyshen! - chore(package): change homepage URL
6dca6ab
Thanks @wellyshen! - docs: update getting-started & the API url of README.md & add "API Reference" page
5b2347c
Thanks @wellyshen! - docs: update readme
0c6f761
Thanks @wellyshen! - docs: update example
d887fb9
#210 Thanks @wellyshen! - refactor(useForm): add warning for gettingvalues
state alone
8487733
Thanks @wellyshen! - docs(readme): update codesandbox link
0649089
#207 Thanks @wellyshen! - Fix(useForm): correct theonChange
type ofcontroller
b30e638
Thanks @wellyshen! - docs(readme): correct grammar
bcc1e9b
Thanks @wellyshen! - docs(readme): update features section
edcf47d
Thanks @wellyshen! - docs(readme): update example
d1199b6
Thanks @wellyshen! - docs(readme): add features section
e7b29d9
Thanks @wellyshen! - docs(readme): update demo link
3caa0d1
#201 Thanks @wellyshen! - perf: usedequal
instead offast-deep-equal
577de2a
#200 Thanks @wellyshen! - refactor(useForm): shorten code
b09a2c0
#199 Thanks @wellyshen! - addparse
option for field ref & correct the behavior ofcontroller
a089883
#197 Thanks @wellyshen! - feat(useForm): supportvalueAsNumber
andvalueAsDate
for field ref
e50b2ff
#195 Thanks @wellyshen! - refactor(useForm): changeformRef
toform
a0c41f8
#195 Thanks @wellyshen! - refactor(useForm): changevalidate
tofield
b769633
Thanks @wellyshen! - refactor(useForm): remove form ref warning
df94182
#189 Thanks @wellyshen! - feat(useForm): usevalueAsNumber
insteadparseFloat()
for converting data
4eae04c
#193 Thanks @wellyshen! - fix(useForm): correct the logic ofcontroller
method
26936f5
Thanks @wellyshen! - refactor(useForm): renamehandleFieldChange
tohandleChangeEvent
ae3447c
Thanks @wellyshen! - chore: update slogan
120bea9
Thanks @wellyshen! - docs: update readme
e60deba
#181 Thanks @wellyshen! - feat: expose theunset
utility function
53fd53c
Thanks @wellyshen! - fix(utils): filter theundefined
property only forfilterError
573c7f7
#178 Thanks @wellyshen! - refactor(useState): removesetDefaultValuesRef
method
fa7ebf6
Thanks @wellyshen! - refactor(utils): delete the filtered property forfilterError()
68d232d
Thanks @wellyshen! - refactor(useForm): refine the type ofcontroller
a9bc203
Thanks @wellyshen! - perf(utils): improve the performance ofgetIsDirty()
7e296d0
Thanks @wellyshen! - docs(readme): update example
c4acafc
Thanks @wellyshen! - chore: refine project structure
7eb1693
#175 Thanks @wellyshen! - fix(useForm): correct the behavior of built-in validation
57278de
#174 Thanks @wellyshen! - feat(useForm): adjust the API ofgetState()
9af09b2
Thanks @wellyshen! - docs(readme): update example
daac107
#173 Thanks @wellyshen! - refactor(useForm): re-use methods
af56a0b
#171 Thanks @wellyshen! - feat(useForm): auto delete undefined value forsetFieldValue()
f1e05d1
#169 Thanks @wellyshen! - fix(useForm): correct the logic ofdirtyFields
andisDirty
e7adb99
Thanks @wellyshen! - refactor(useForm): prevent un-necessary default values checking
aef2df3
Thanks @wellyshen! - fix(useForm): crash due to filer untouched errors
80879a3
Thanks @wellyshen! - docs(readme): update example
75f42bc
Thanks @wellyshen! - docs(readme): update the type definition section
988f9a8
Thanks @wellyshen! - docs(readme): add type definition
35f9872
#164 Thanks @wellyshen! - refactor(useForm): adjust thewatch
arg ofgetState()
56345dc
#161 Thanks @wellyshen! - refactor(type): enhance the type ofcontroller
996eb40
Thanks @wellyshen! - refactor: move utility functions from useForm to utils
e69ea75
#163 Thanks @wellyshen! - feat(useForm): get touched error only
afab297
#159 Thanks @wellyshen! - feat(useForm): addformat
option forcontroller
5c79904
#157 Thanks @wellyshen! - refactor(useForm): change theparser
option of controller toparse
6a2939d
#155 Thanks @wellyshen! - refactor(useForm): removeiControlFields
andexcludeFields
configs useignoreFields
instead
0df48ee
#149 Thanks @wellyshen! - fix(useForm): built-in errors not be cleaned
57f5fc9
#148 Thanks @wellyshen! - fix(useForm): avoid duplicated set field touched for controller
9a060e0
#146 Thanks @wellyshen! - refactor(useForm): consist options name of thesetFieldValue
method
701b8f9
#144 Thanks @wellyshen! - fix(useForm): turn isSubmitted totrue
once submit is successful
cf06541
#142 Thanks @wellyshen! - fix(useForm): correct the logic between controlled and un-controlled fields
3e3ef26
#143 Thanks @wellyshen! - fix(useForm): get the deep intial value as the default value of field
7399a99
Thanks @wellyshen! - refactor: use default value for events
8c8209d
#141 Thanks @wellyshen! - refactor(useForm): use validate field instead of validate form for single updated field
401f7ec
Thanks @wellyshen! - refactor(useForm): remove the logic of checking exist errors on submit
1d3c5e8
#139 Thanks @wellyshen! - fix(useState): debug event not be sent correctly
d6d254e
Thanks @wellyshen! - docs(readme): update example
ccb2ef9
Thanks @wellyshen! - refactor(useForm): refine submit()
0ed35f0
#137 Thanks @wellyshen! - feat(useForm): add excludeFields config
6f034af
Thanks @wellyshen! - docs(package.json): update example
130e476
#136 Thanks @wellyshen! - refactor(useForm): change iControlledFields config to iControlFields
a5ee7d9
#132 Thanks @wellyshen! - refactor(useForm): change the ignoreFields to iControlledFields
957de35
#134 Thanks @wellyshen! - feat(useForm): set all fields to touched when submitting
9134efa
Thanks @wellyshen! - docs(readme): update the example section
704e67c
Thanks @wellyshen! - docs(readme): update example
72c3aaa
#129 Thanks @wellyshen! - refactor(useForm): remove setFieldTouchedMaybeValidate()
428c80b
#131 Thanks @wellyshen! - fix(useForm): cache previous built-in errors for better DX
40c5e05
Thanks @wellyshen! - refactor(useForm): enhance the readability of setFieldTouchedMaybeValidate()
9b451a4
Thanks @wellyshen! - docs(readme): update example
e916e57
Thanks @wellyshen! - docs(readme): correct example
732b593
Thanks @wellyshen! - chore: add more github templates
c8c715d
#124 Thanks @wellyshen! - chore: use bundlesize
495f275
Thanks @wellyshen! - docs: update readme
908f7fe
Thanks @wellyshen! - chore: adjust package commands and rollup config
e3e0e73
#126 Thanks @wellyshen! - fix(useForm): correct the logic of avoid double validating of setFieldTouched()
abc5239
Thanks @wellyshen! - refactor(useForm): change runWithLowPrioirty() to requestIdleCallback()
1621ce1
Thanks @wellyshen! - refactor(useForm): move runWithLowPrioirty into useForm
948807c
#120 Thanks @wellyshen! - refactor(useForm): use requestIdleCallback instead of scheduler
d935f68
#111 Thanks @wellyshen! - fix(useForm): correct dynamic fields behavior
0ceb94a
#108 Thanks @wellyshen! - feat(useForm): auto add/remove fields
6821f0d
#106 Thanks @wellyshen! - fix(useForm): correct number data type
8037f98
#103 Thanks @wellyshen! - refactor(useForm): adjust the UX of defaultValues, reset(), and setValues()
0890b1c
#105 Thanks @wellyshen! - refactor(useForm): move ignoreFieldsRef to getFields()
3d308f2
Thanks @wellyshen! - refactor(useForm): use the default value of checkbox as the value of checkbox-group
7a0d9cb
#101 Thanks @wellyshen! - feat(useForm): enable React defaultValue
d203e07
Thanks @wellyshen! - fix(useForm): use empty object as the fallback of initialValues
f213a2d
Thanks @wellyshen! - refactor: remove is-key logic
af29dfd
#99 Thanks @wellyshen! - avoid un-necessary re-render & strip hidden input from element checking
4f08865
Thanks @wellyshen! - refactor(useForm): re-parse fields when both add and remove nodes
19e5584
Thanks @wellyshen! - fix(useForm): unset dirtyField if not dirty
c9ca4b9
#96 Thanks @wellyshen! - feat: exposeget()
andset()
utility functions
27a6c50
#93 Thanks @wellyshen! - feat: use unset for clear error
a77b052
#91 Thanks @wellyshen! - refactor: use reset() instead of resetStateRef()
7ec087a
#89 Thanks @wellyshen! - refactor(useForm): remove un-necessary for loop from Mutation Observer
2a40058
#87 Thanks @wellyshen! - refactor(useForm): built-in handle-submit and handle-reset for you :)
ab72fdb
#86 Thanks @wellyshen! - feat(useForm): support built-in validation
e620376
Thanks @wellyshen! - chore: move configs out of package.json
f8c31f1
#84 Thanks @wellyshen! - perf(useForm): remove setFieldTouchedIfNeeded() to reduce bundle size
3a39bf1
#83 Thanks @wellyshen! - perf(useForm): reduce bundle size by simplying code
cd173f5
#80 Thanks @wellyshen! - upgrade: react v16 to v17
b54bd81
#81 Thanks @wellyshen! - ci: adjust the check-and-test action
d23d838
Thanks @wellyshen! - refactor: changegetFromState()
togetState()
087f8a4
#76 Thanks @wellyshen! - refactor: adjust file structure
d456e8e
#74 Thanks @wellyshen! - feat(useForm): add ignoreFields config
9bc2680
#72 Thanks @wellyshen! - refactor(useForm): adjust export format
ccbbe64
#70 Thanks @wellyshen! - fix: correct UMD format
34bb0c1
#68 Thanks @wellyshen! - feat: support UMD format
0aefe6a
#67 Thanks @wellyshen! - feat(useForm): accept function as the values argv of the reset method
8a8f978
#65 Thanks @wellyshen! - refactor(useForm): disabled the watch mode of getFormState() for event & remove un-necessary variable
1815a89
#62 Thanks @wellyshen! - docs(readme): add milestone section
d40937d
#63 Thanks @wellyshen! - fix(useForm): elimiate useLayoutEffect warning in SSR
598f2f7
#60 Thanks @wellyshen! - fix(useForm): correct the value of dynamic fields
6ff974e
#59 Thanks @wellyshen! - chore(package.json): adjust description and command
3359813
#57 Thanks @wellyshen! - docs: update README
ade598e
#55 Thanks @wellyshen! - docs(readme): adjust layout
556bba9
#54 Thanks @wellyshen! - docs(readme): edit title section
014f148
#51 Thanks @wellyshen! - chore(package.json): edit description
ad9b72a
#53 Thanks @wellyshen! - fix: empty package
5c397c0
#49 Thanks @wellyshen! - chore(package.json): add keyword
5c397c0
#49 Thanks @wellyshen! - chore(package.json): add description
5c397c0
#49 Thanks @wellyshen! - chore(package.json): edit keyword
5c397c0
#49 Thanks @wellyshen! - chore(package.json): add keyword
5c397c0
#49 Thanks @wellyshen! - chore(package.json): edit keyword
5c397c0
#49 Thanks @wellyshen! - chore(package.json): add keyword