pexeixv/weight-class-finder

Add form validation with Zod/Yup and Formik/React Hook Form

Open

#3 opened on Oct 21, 2025

 (1 comment) (0 reactions) (0 assignees)TypeScript (0 forks)auto 404
enhancementhacktoberfest

Repository metrics

Stars
 (0 stars)
PR merge metrics
 (PR metrics pending)

Description

  • Integrate a form validation library such as Zod or Yup with Formik or React Hook Form.
  • Validate inputs for:
    • Weight must be a positive number
    • Gender must be selected
    • Units must be selected
  • Provide error toasts using Sonner and prevent submission until inputs are valid.
  • Ensure good UX with focus on invalid fields.

Contributor guide