File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 22 <div class =" flex flex-col gap-1.5 relative" >
33 <div class =" text-xs flex gap-x-1 text-red-1" >
44 <p class =" text-body text-xs font-semibold" >부가설명</p >
5- <p v-if =" isInvalidateState === 'description'" >부가설명은 200자 이내로 적어주세요</p >
5+ <p v-if =" isInvalidateState === 'description'" >부가설명은 1000자 이내로 적어주세요</p >
66 </div >
77 <textarea
88 class =" w-full h-32 border border-border-1 px-4 py-2 resize-none focus:outline-none rounded"
99 :value =" modelValue"
1010 :placeholder =" placeholderText"
11- :maxlength =" 200 "
11+ :maxlength =" 1000 "
1212 @input =" updateValue(($event.target as HTMLInputElement).value)" >
1313 </textarea >
1414 <p
Original file line number Diff line number Diff line change 4141 <p
4242 class =" text-red-1"
4343 v-if =" errorMessage.description === 'tooLong'" >
44- 템플릿은 100자 이내로 적어주세요
44+ 템플릿은 500자 이내로 적어주세요
4545 </p >
4646 </div >
4747 <textarea
4848 class =" w-full h-32 border border-border-1 px-4 py-2 resize-none focus:outline-none rounded"
4949 :value =" categoryForm.descriptionExample"
50- :maxlength =" 100 "
50+ :maxlength =" 500 "
5151 :placeholder =" '부가설명 템플릿을 작성해주세요'"
5252 @input =" onValueChange" >
5353 </textarea >
5454 <p class =" absolute text-xs top-[calc(100%+4px)] w-full flex justify-end text-body" >
55- {{ categoryForm.descriptionExample?.length || 0 }}/{{ 100 }}
55+ {{ categoryForm.descriptionExample?.length || 0 }}/{{ 500 }}
5656 </p >
5757 </div >
5858
@@ -120,7 +120,7 @@ const handleSubmit = async () => {
120120 } else if (categoryForm .value .code .length === 0 ) {
121121 errorMessage .value .categoryCode = ' noCode'
122122 return
123- } else if ((categoryForm .value .descriptionExample ?? ' ' ).length > 100 ) {
123+ } else if ((categoryForm .value .descriptionExample ?? ' ' ).length > 500 ) {
124124 errorMessage .value .description = ' tooLong'
125125 return
126126 }
You can’t perform that action at this time.
0 commit comments