5sControl / 5sControl/5s-frontend

[30min]Edit order title: Invalid number of characters in the field

Open
#913 2 comments 0 reactions 1 assignee Assigned to @kirilbaskakov View on GitHub
bug ESMIL Front mobile QA done Stage ready v. 0.8.1
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.