Commit 5e6656411e8c508564753abf60335e7eb32d897f
1 parent
08d4e4ed
fix: DEFECT-971 & DEFECT-970 data componet create board not limit name && remark field length
Showing
1 changed file
with
2 additions
and
0 deletions
| ... | ... | @@ -14,6 +14,7 @@ export const formSchema: FormSchema[] = [ |
| 14 | 14 | rules: [{ required: true, message: '请输入看板名称' }], |
| 15 | 15 | componentProps: { |
| 16 | 16 | placeholder: '请输入看板名称', |
| 17 | + maxLength: 32, | |
| 17 | 18 | }, |
| 18 | 19 | }, |
| 19 | 20 | { |
| ... | ... | @@ -55,6 +56,7 @@ export const formSchema: FormSchema[] = [ |
| 55 | 56 | component: 'InputTextArea', |
| 56 | 57 | componentProps: { |
| 57 | 58 | placeholder: '请输入看板备注', |
| 59 | + maxLength: 255, | |
| 58 | 60 | }, |
| 59 | 61 | }, |
| 60 | 62 | ]; | ... | ... |