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:
makabe.t 2024-01-29 05:54:35 +00:00
parent 4d462a883a
commit dbff86915e
3 changed files with 4 additions and 4 deletions

View File

@ -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) => {

View File

@ -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) => {

View File

@ -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 })