5sControl / 5sControl/5s-frontend

Edit name order: Gaps in field

オープン
#918 コメント 0 件 リアクション 0 件 担当者 1 名 @ThanhDoIVan が担当を希望しています GitHub で見る
bug Front mobile
主要言語
TypeScript
スター
3
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react, typescript
領域
frontend
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。