- Add
getValuestouseFormhook - Change type
*withIdwith optional fields
- Remove
-bs-super-errorsflag for the compatibility with ReScript v12
- Support ReScript v12
- Change type signature of append in useFieldArray hook
- Updated from
t => unittodefaultValuesOfT => unit - This change provides better type flexibility when appending new items to the array
- Updated from
- Enhance defaultValuesOf type definition for array types
- For array types (e.g.,
array<t>), the defaultValuesOf type now usesdefaultValuesOfTfor the array items instead ofarray<t> - This allows for more precise default value handling in nested array structures
- For array types (e.g.,
- Add setValueConfig
- Add more variants for watch return type and watch returns option type
- Support useForm, useFieldArray, Controller