Releases: stevent-team/react-zoom-form
Releases · stevent-team/react-zoom-form
v1.2.1
Patch Changes
- a96199b: Fail gracefully if an undefined schema is encountered
v1.2.0
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
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
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
Patch Changes
- d7721ea: Update types to allow any zod type as a schema
v1.1.1
Patch Changes
- 9c2a91f: Remove unnecessary NonNullable on field chain
v1.1.0
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
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
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
Patch Changes
- 06966d6: Decouple register fn from useForm hook