pexeixv/weight-class-finder

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

Ouverte

#3 ouverte le 21 oct. 2025

 (1 commentaire) (0 réaction) (0 personne assignée)TypeScript (0 fork)auto 404
enhancementhacktoberfest

Métriques du dépôt

Stars
 (0 étoile)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur