๐ Fixes
- Fix form state select option (#13784)
- Remove duplicate default value field (#13783)
- Fix
validateFieldskipping refs withoutsetCustomValidityunder native validation (#13782) - Fix form-level validation using a stale
validatefunction (#13777) - Fix
useFieldArraytouched fields handling (#13776) - Fix pending
delayErrortimers for nested paths (#13775) - Fix
getValuesextracting unmarked field array entries (#13773) - Fix field array touched state not being re-indexed when unsubscribed (#13772)
- Fix nested
delayErrortimers remaining when a parent validates clean (#13771) - Fix nested
delayErrortimers remaining afterresetField()resets a parent (#13769) - Fix stale field array root errors after an operation satisfies the validation rule (#13767)
- Fix
setValue()not revalidating dependencies whenshouldValidateis enabled (#13765) - Fix stale built-in validation results after
reset()duringhandleSubmit()(#13761) - Fix stale form-level validation results after
reset()(#13762) - Fix validation rules removed from
registeroptions at runtime remaining active (#13758) - Fix
useControllerrequired validation not using the controlled value (#13756) - Fix stale form-level errors remaining after successful re-validation (#13755)
- Fix
useFieldArraymarking the form dirty when the array default value isnull(#13750) - Fix
isValidnot being recomputed when theerrorsprop is emptied (#13748) - Fix form-level validation running more than once per traversal (#13747)
- Fix stale built-in validation results after
reset()duringonChange(#13745) - Fix stale resolver results after
reset()duringonChange(#13744) - Fix
setValue()not triggering field array root validation whenshouldValidateis enabled (#13743) - Fix
getFieldState(name, formState)updates afterreset()(#13741) - Fix dirty state remaining for rows removed from a field array (#13739)
๐งน Refactors
๐ฆ Dependencies
- Add optional
@types/reactpeer dependency (#13781)
โค๏ธ Thank You
- Thanks to @niketchandivade, @unrevised6419, @Lucasfarg, @dfedoryshchev, @locphamnice, @Abdalluh28, @giaBaoJS, @Mohamedshawky4, @roli-lpci, @soroush5, @zigzagdev and @bluebill1049 for their contributions! ๐