Skip to content

fix: add age restriction and book number validation in Vitals

chava rahul requested to merge fix/vitals-validation into develop

Description:

Added validation logic for the Vitals form: Enforces age restriction (minimum age 18) during vitals entry. Validates Book Number format and ensures API verification happens only after full input. Prevents multiple unnecessary API calls while typing.

Type of Change:

Feature Development

Testing:

Tested on desktop

Tested on mobile

Screenshots (if applicable):

image image

Checklist:

Code follows project style guidelines Self-review completed No console errors TypeScript types are correct

Merge request reports

Loading