5sControl / 5sControl/5s-frontend

Edit name order: Gaps in field

Offen
#918 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @ThanhDoIVan Auf GitHub ansehen
bug Front mobile
Vorherrschende Sprache
TypeScript
Sterne
3
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Precondition:
Go to https://office.5scontrol.com\mobile
Login as admin

Description:
When creating an admin, you must assign "Workspace"

Step to reproduce:
1. Go to section "Заказы"
2. Go to tab "Не начат"
3. Choose any order
4. Click to icon "Edit order"
5. Enter the name of the order with spaces at the beginning and end of the line

Expected result:
Field is highlighted in red, appears tooltip "Недопустимые символы"

Actual result:
Order save

Attachment:
Image

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Look for the order editing form component and its validation logic, likely in a file like EditOrderForm.tsx or similar. Find where the order name input is handled and add trim validation or check for leading/trailing spaces. Test by reproducing the steps in the UI to ensure the 'Недопустимые символы' tooltip appears.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.