Skip to content

fix: bump @hookform/resolvers to fix schema with formats#909

Merged
igorbrasileiro merged 1 commit intomainfrom
fix/bump-rhf-resolvers
Jul 25, 2025
Merged

fix: bump @hookform/resolvers to fix schema with formats#909
igorbrasileiro merged 1 commit intomainfrom
fix/bump-rhf-resolvers

Conversation

@igorbrasileiro
Copy link
Copy Markdown
Contributor

@igorbrasileiro igorbrasileiro commented Jul 25, 2025

Bump @hookform/resolvers to 5.2.0 which handles ajv-formats allowing schemas with format. Related to react-hook-form/resolvers#797

Example schema: {type: "object", properties: { email: { type: "string", format: "email" } } }

Before: the submit button does nothing, because fails ajvResolver.
After: the submit button make the request.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying chat with  Cloudflare Pages  Cloudflare Pages

Latest commit: f1f375f
Status: ✅  Deploy successful!
Preview URL: https://a79704a4.chat-46r.pages.dev
Branch Preview URL: https://fix-bump-rhf-resolvers.chat-46r.pages.dev

View logs

@mcandeia
Copy link
Copy Markdown
Collaborator

gg

@igorbrasileiro igorbrasileiro merged commit 3d33e55 into main Jul 25, 2025
3 checks passed
@igorbrasileiro igorbrasileiro deleted the fix/bump-rhf-resolvers branch July 25, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants