Skip to content

Commit 9873e0a

Browse files
committed
fix : 롤링페이퍼 최대 글자수 500자 제한
1 parent 503d97b commit 9873e0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/TextareaField.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const TextareaField = ({ ...props }: ComponentPropsWithoutRef<'textarea'>) => {
44
return (
55
<div className="relative z-1 w-full rounded-sm bg-white px-3 py-1.5">
66
<textarea
7+
maxLength={500}
78
className="body-m placeholder:text-gray-30 text-gray-80 w-full resize-none bg-transparent"
89
{...props}
910
/>

0 commit comments

Comments
 (0)