Merged PR 708: 対応
## 概要 [Task3550: 対応](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3550) - Worktypeの登録・編集時に16文字までとなるように制限を修正しました。 - APIのバリデータ - 画面の最大文字数 ## レビューポイント - 対応内容の認識はあっていますでしょうか? ## UIの変更 - なし ## 動作確認状況 - ローカルで確認
This commit is contained in:
parent
4d462a883a
commit
dbff86915e
@ -85,7 +85,7 @@ export const AddWorktypeIdPopup: React.FC<AddWorktypeIdPopupProps> = (
|
||||
<input
|
||||
type="text"
|
||||
size={40}
|
||||
maxLength={255}
|
||||
maxLength={16}
|
||||
value={worktypeId ?? ""}
|
||||
className={styles.formInput}
|
||||
onChange={(e) => {
|
||||
|
||||
@ -84,7 +84,7 @@ export const EditWorktypeIdPopup: React.FC<EditWorktypeIdPopupProps> = (
|
||||
<input
|
||||
type="text"
|
||||
size={40}
|
||||
maxLength={255}
|
||||
maxLength={16}
|
||||
value={worktypeId ?? ""}
|
||||
className={styles.formInput}
|
||||
onChange={(e) => {
|
||||
|
||||
@ -198,7 +198,7 @@ export class CancelIssueRequest {
|
||||
export class CreateWorktypesRequest {
|
||||
@ApiProperty({ minLength: 1, maxLength: 255, description: 'WorktypeID' })
|
||||
@MinLength(1)
|
||||
@MaxLength(255)
|
||||
@MaxLength(16)
|
||||
@IsRecorderAllowed()
|
||||
worktypeId: string;
|
||||
@ApiProperty({ description: 'Worktypeの説明', required: false })
|
||||
@ -210,7 +210,7 @@ export class CreateWorktypesRequest {
|
||||
export class UpdateWorktypesRequest {
|
||||
@ApiProperty({ minLength: 1, description: 'WorktypeID' })
|
||||
@MinLength(1)
|
||||
@MaxLength(255)
|
||||
@MaxLength(16)
|
||||
@IsRecorderAllowed()
|
||||
worktypeId: string;
|
||||
@ApiProperty({ description: 'Worktypeの説明', required: false })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user