From dfcf677cf2da6534c459633cde6c22591d4d4483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EA=B8=B0=EC=98=81?= Date: Tue, 13 Aug 2024 13:49:21 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=80=B4=EC=A6=88=EC=85=8B,=20=ED=80=B4?= =?UTF-8?q?=EC=A6=88=20=EC=A0=9C=EC=99=B8=20maxlength=20=EB=B0=8F=20maxlen?= =?UTF-8?q?gth=20=EC=95=88=EB=82=B4=EB=AC=B8=EA=B5=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ArticleDetailAnswer/ArticleDetailAnswerInput.jsx | 3 +-- .../components/Article/CreateArticle/CreateArticle.jsx | 6 ++++-- .../src/components/Article/EditArticle/EditArticle.jsx | 6 ++++-- .../components/Article/EditFreeboard/EditFreeboard.jsx | 6 ++++-- frontend/src/components/Article/EditQna/EditQna.jsx | 6 ++++-- .../FreeDetailComments/FreeboardComment.jsx | 2 +- .../FreeDetailComments/FreeboardCommentInput.jsx | 2 +- frontend/src/components/LectureForm/LectureForm.jsx | 8 ++++---- .../components/PasswordChangeForm/PasswordChangeForm.jsx | 6 +++--- 9 files changed, 26 insertions(+), 19 deletions(-) diff --git a/frontend/src/components/Article/ArticleDetail/ArticleDetailAnswer/ArticleDetailAnswerInput.jsx b/frontend/src/components/Article/ArticleDetail/ArticleDetailAnswer/ArticleDetailAnswerInput.jsx index 2645447..86ec83e 100644 --- a/frontend/src/components/Article/ArticleDetail/ArticleDetailAnswer/ArticleDetailAnswerInput.jsx +++ b/frontend/src/components/Article/ArticleDetail/ArticleDetailAnswer/ArticleDetailAnswerInput.jsx @@ -52,8 +52,7 @@ export default function ArticleDetailAnswerInput({ onSubmit, initialAnswer = '', placeholder="답변 작성하기" className={styles.input} /> - {answer && answer.length > 950 &&
{answer.length} / 1000
} - + {answer && answer.length > 999 &&
최대 1000글자까지 작성할 수 있습니다.
}