Skip to content

Releases: green-labs/ppx_react_hook_form

v0.0.7

25 Nov 13:25
3cb9036
Compare
Choose a tag to compare
  • Add getValues to useForm hook
  • Change type *withId with optional fields

v0.0.6

25 Nov 12:47
Compare
Choose a tag to compare
  • Remove -bs-super-errors flag for the compatibility with ReScript v12

v0.0.5

18 Nov 12:21
8dae192
Compare
Choose a tag to compare
  • Support the compiler v12

v0.0.4

21 Oct 07:27
Compare
Choose a tag to compare
  • Change type signature of append in useFieldArray hook
    • Updated from t => unit to defaultValuesOfT => unit
    • This change provides better type flexibility when appending new items to the array

v0.0.3

21 Oct 07:27
Compare
Choose a tag to compare
  • Enhance defaultValuesOf type definition for array types
    • For array types (e.g., array<t>), the defaultValuesOf type now uses
      defaultValuesOfT for the array items instead of array<t>
    • This allows for more precise default value handling in nested array structures

v0.0.2

19 Apr 12:23
d49473f
Compare
Choose a tag to compare
  • Add setValueConfig
  • Add more variants for watch return type and watch returns option type