Skip to content

docs(form-integration): add example using React Hook Form with PhoneI…#249

Open
angelBonilla-encora wants to merge 1 commit into
ybrusentsov:developmentfrom
angelBonilla-encora:docs/react-hook-form-integration
Open

docs(form-integration): add example using React Hook Form with PhoneI…#249
angelBonilla-encora wants to merge 1 commit into
ybrusentsov:developmentfrom
angelBonilla-encora:docs/react-hook-form-integration

Conversation

@angelBonilla-encora
Copy link
Copy Markdown

@angelBonilla-encora angelBonilla-encora commented Jun 25, 2025

…nput

What has been done

Adds a new section to the documentation: Using with Form Libraries, showcasing how to integrate PhoneInput with React Hook Form and validate phone numbers using google-libphonenumber.

Includes both JavaScript and TypeScript examples, using the Controller component and basic validation rules (required, and valid number check).

Checklist before requesting a review

  • I have read the contributing doc before submitting this PR.
  • Commit titles correspond to the convention.
  • I have performed a self-review of my code.
  • Tests for the changes have been added (for bug fixes/features).
  • Docs have been added / updated (for bug fixes / features).

Screenshots (if appropriate):

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-international-phone-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2025 8:51pm
react-international-phone-storybook ❌ Failed (Inspect) Jun 25, 2025 8:51pm

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.

1 participant