5sControl / 5sControl/5s-frontend
Edit name order: Gaps in field
- Ngôn ngữ chính
- TypeScript
- Star
- 3
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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:
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react, typescript
- Lĩnh vực
- frontend
- Loại issue
- Lỗi
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100