edmundhung / conform

A type-safe form validation library utilizing web fundamentals to progressively enhance HTML Forms with full support for server frameworks like Remix and Next.js.
https://conform.guide
MIT License
1.8k stars 101 forks source link

fix(conform-zod): empty string default value support #741

Closed edmundhung closed 3 days ago

edmundhung commented 4 weeks ago

Fix #676

changeset-bot[bot] commented 4 weeks ago

🦋 Changeset detected

Latest commit: 475c0134ad8b07b4f74ed5c4455be82e2c4925cf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages | Name | Type | | ----------------- | ----- | | @conform-to/zod | Patch | | @conform-to/dom | Patch | | @conform-to/react | Patch | | @conform-to/yup | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

cloudflare-pages[bot] commented 3 weeks ago

Deploying conform with  Cloudflare Pages  Cloudflare Pages

Latest commit: 475c013
Status: âœ…  Deploy successful!
Preview URL: https://bd723db7.conform.pages.dev
Branch Preview URL: https://zod-default-empty-string.conform.pages.dev

View logs

pkg-pr-new[bot] commented 3 weeks ago

Open in Stackblitz

More templates

- [@conform-example/chakra-ui](https://pkg.pr.new/template/eafa12dd-60c9-4f48-979c-48d1d180a6bf) - [@conform-example/nextjs](https://pkg.pr.new/template/22048297-f8ba-46ca-922e-4434272bf1dc) - [@conform-example/headless-ui](https://pkg.pr.new/template/840097e0-24b3-4664-bc9a-c9671a1bd896) - [@conform-example/react-router](https://pkg.pr.new/template/1f9b391e-c1f9-4db7-a165-ab28898afa37) - [@conform-example/radix-ui](https://pkg.pr.new/template/e8bc45a7-9281-4c07-afeb-72aa7713dbbe) - [@conform-example/remix](https://pkg.pr.new/template/c1aeddf9-dc47-4d8c-8179-38ff66bdcf86) - [@conform-example/shadcn-ui](https://pkg.pr.new/template/4458ceff-ac97-4491-8aba-2a934023c983) - [@conform-example/material-ui](https://pkg.pr.new/template/dce80ecb-2333-4d1f-a194-eea4200bcbdd)

@conform-to/dom

``` pnpm add https://pkg.pr.new/@conform-to/dom@741 ```

@conform-to/react

``` pnpm add https://pkg.pr.new/@conform-to/react@741 ```

@conform-to/validitystate

``` pnpm add https://pkg.pr.new/@conform-to/validitystate@741 ```

@conform-to/yup

``` pnpm add https://pkg.pr.new/@conform-to/yup@741 ```

@conform-to/zod

``` pnpm add https://pkg.pr.new/@conform-to/zod@741 ```

commit: 475c013