5sControl / 5sControl/5s-frontend
[30min]Edit order title: Invalid number of characters in the field
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Precondition:
Go to https://office.5scontrol.com/mobile
Login as admin
Description:
The field is limited to no more than 49 characters
Step to reproduce:
1. Go to orders
2. Check any order
3. Click to the icon "Edit order"
4. In the field "name" enter 50 symbols
Expected result:
The field is limited to 50 characters inclusive
Actual result:
The field is limited to 49 characters
Attachment:
Contributor guide
Research direction
Find the order edit form component, likely in a file like EditOrder.tsx or OrderForm.tsx. Locate the input field for the order name and check its maxLength attribute or validation logic. Change the limit from 49 to 50 characters. Verify the fix by testing the edit order flow in the application.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 40/100