Bug Description
Description
The TournamentHub tournament creation form currently has no validation on:
- Start date — users can select past dates, which leads to invalid tournaments
- Player count — there is no minimum or maximum limit enforced, allowing nonsensical values
Expected Behavior
- Past dates should be rejected with a clear error message
- Player count should be validated against a defined min/max range
Proposed Fix
Add client-side validation in TournamentHub.tsx to check date and player count before form submission.
##Screenshot:

Steps to Reproduce
- Navigate to the TournamentHub page
- Open the tournament creation form
- Enter a past date as the start date and submit — no error is shown
- Enter 0 or an extremely large player count and submit — no error is shown
Environment Details
- Frontend: React / TypeScript
- File affected:
frontend/src/Pages/TournamentHub.tsx
Impact
Critical - Application is unusable
Code of Conduct
Bug Description
Description
The TournamentHub tournament creation form currently has no validation on:
Expected Behavior
Proposed Fix
Add client-side validation in
TournamentHub.tsxto check date and player count before form submission.##Screenshot:

Steps to Reproduce
Environment Details
frontend/src/Pages/TournamentHub.tsxImpact
Critical - Application is unusable
Code of Conduct