Skip to content

Releases: stevent-team/react-zoom-form

v1.2.1

21 Aug 12:08
d53e143
Compare
Choose a tag to compare

Patch Changes

  • a96199b: Fail gracefully if an undefined schema is encountered

v1.2.0

18 Aug 02:13
331d46f
Compare
Choose a tag to compare

Minor Changes

  • 474563b: Add setError function to manually set or clear form errors
  • 72d8a73: Support for intersections and unions in the Zod schema

Patch Changes

  • 6f9613c: Export FieldChain helper type from the lib

v1.1.4

12 Aug 01:30
ffcee4e
Compare
Choose a tag to compare

Patch Changes

  • f403cf8: Remove lib export of internal register function
  • f403cf8: Properly pass through the correct Zod schema types to the field chain using a second InnerSchema type param

v1.1.3

10 Aug 06:06
b6aa5c9
Compare
Choose a tag to compare

Patch Changes

  • 55e323b: Store formValues in a ref to prevent unnecessary rerenders
  • b9a77a9: Fix an issue where controlled fields with a nullable value would break the types

v1.1.2

09 Aug 05:53
acb4977
Compare
Choose a tag to compare

Patch Changes

  • d7721ea: Update types to allow any zod type as a schema

v1.1.1

04 Aug 00:30
a71f7c2
Compare
Choose a tag to compare

Patch Changes

  • 9c2a91f: Remove unnecessary NonNullable on field chain

v1.1.0

01 Aug 12:12
122a19e
Compare
Choose a tag to compare

Minor Changes

  • bb63c81: Support passing a custom ref into registered elements

Patch Changes

  • 50b5f21: Disable validation on change after a reset until the next submit event
  • bb41db3: Update packages

v1.0.0

14 Jul 00:56
8d5754e
Compare
Choose a tag to compare

Major Changes

  • f81a532: Rename FieldControls type to Field
  • f81a532: Stable release!
  • f81a532: Rename Field type to ControlledField

Minor Changes

  • e7966d6: Add Errors component to display simple field errors

v0.4.0

10 Jul 12:39
dde595e
Compare
Choose a tag to compare

Minor Changes

  • 71bece3: Changed name of errors fn to fieldErrors to be clearer about it's function
  • e8eb654: Add helper functions for watching a value and directly setting a value

Patch Changes

  • b97da5c: Support nullable and optional zod schemas in the fields object type

v0.3.1

10 Jul 05:10
d762765
Compare
Choose a tag to compare

Patch Changes

  • 06966d6: Decouple register fn from useForm hook