Skip to content

Fix input validation for sets and reps - #49

Open
ANKITT2006 wants to merge 1 commit into
arvids-unavailable:mainfrom
ANKITT2006:main
Open

Fix input validation for sets and reps#49
ANKITT2006 wants to merge 1 commit into
arvids-unavailable:mainfrom
ANKITT2006:main

Conversation

@ANKITT2006

Copy link
Copy Markdown

Description:

This PR fixes input validation for exercise sets and reps across both the frontend and backend.

Frontend changes:

Improved numeric input controls for sets and reps.
Prevented negative values from being entered.
Improved handling of decimal values and input validation.
Updated the relevant workout configuration components.

Backend/API changes:

Added or improved validation for exercise sets and reps.
Ensured invalid values are handled correctly before being processed or stored.

These changes help maintain consistent validation between the frontend and backend and prevent invalid exercise data from being submitted.

.......

prototype link :- http://localhost:5173/#/plan/r/mt9k6lvt5zyri

screenshots:-
Screenshot 2026-08-27 142718
Screenshot 2026-08-27 142743
Screenshot 2026-08-27 142755

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