BUG:The BasicDetails form component has no input validation for user-submitted data
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- frontend
Research direction
Start at the /basicDetails/influencer and /basicDetails/brand routes and trace the BasicDetails form component and its Next-button flow. Reproduce the empty and malformed email, phone, URL, engagement-rate, and audience-size cases, then verify that invalid fields show feedback, block progression, and clear their errors after correction.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this?
- I have searched the existing issues
What happened?
📌 Issue Overview
The BasicDetails form component has no input validation for user-submitted data. This allows users to submit invalid information (malformed emails, incorrect phone numbers, invalid URLs) and empty required fields without any feedback or error messages. This compromises data quality and can cause backend errors.
🔍 Steps to Reproduce
Navigate to [/basicDetails/influencer] or [/basicDetails/brand]
Try to proceed without filling in required fields
Enter invalid email (e.g., divnemail)
Enter invalid phone number (e.g., 123)
Enter invalid website URL (e.g., divaurl)
Click "Next" button
Observe: Form accepts invalid data and allows proceeding to next step without any error messages
🎯 Expected Behavior
✅ Required fields must not be empty
✅ Email format must be valid (contain @ and domain)
✅ Phone number must match international format (e.g., +1-555-000-0000)
✅ URLs must be valid HTTP/HTTPS URLs
✅ Engagement rate must be between 0-100%
✅ Audience size must be a positive number
✅ Error messages displayed in real-time below invalid fields
✅ Invalid fields highlighted in red
✅ Next button disabled until all required fields are valid
✅ Errors clear when user fixes the field
🚨 Actual Behavior
❌ No validation occurs when users submit empty or invalid data
❌ No error messages displayed
❌ No visual indication of invalid fields
❌ Form allows proceeding with incomplete/invalid data
❌ Invalid data sent to backend, causing potential errors
Record
- I agree to follow this project's Code of Conduct
- I want to work on this issue
- Dominant language
- TypeScript
- Stars
- 101
- Forks
- 145
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AOSSIE-Org/InPactAI
-
UI Bug: Low contrast makes input text unreadable in Sign Up and Login formPossibly taken @Abhik-Mudi claimed this 308 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
AOSSIE-Org/InPactAI#218 ·
-
DOCS UPDATE: Fix incorrect .env file location in Backend Setup instructionsPossibly taken @PulkitDadwal claimed this 322 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 68/100
AOSSIE-Org/InPactAI#201 ·
-
Difficulty 5/5 Over a week Newbie friendliness 42/100
AOSSIE-Org/InPactAI#314 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
AOSSIE-Org/InPactAI#312 ·
-
FEATURE REQUEST: Add API Pagination to Backend List EndpointsMay be free again @alphacoder-hash claimed this 194 days ago, and no pull request is open. Open
Difficulty 4/5 3-5 days Newbie friendliness 50/100
AOSSIE-Org/InPactAI#307 · 2 comments ·
All issues in AOSSIE-Org/InPactAI
Similar issues
-
bug confirmed perf
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
videojs/video.js#9400 · 1 comment ·
Maintainers usually reply within 1 day
-
good first issue hacktoberfest
Difficulty 2/5 Half a day Newbie friendliness 70/100
HelpCode-ai/anythingmcp#996 ·
Maintainers usually reply within 1 day
-
check:passed streams:add
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
beta technical-medium ui
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
walletbeat/walletbeat#1625 ·
Maintainers usually reply within 1 day
-
[Good First Issue]: Add unit tests for NetworkVersionInfoPossibly taken A pull request linked to this issue is open or already merged. OpenGood First Issue hacktoberfest
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
hiero-ledger/hiero-sdk-js#4489 ·
Maintainers usually reply within 1 day