Merge branch 'FE/Fix' into 'frontend'
[Front-End]fix: 강의제목 / 글(게시판) 제목 / 퀴즈셋 제목 50자 제한 적용 See merge request s11-webmobile1-sub2/S11P12A701!178
This commit is contained in:
commit
0c000cd1b8
@ -45,13 +45,13 @@ export default function CreateArticle({ topic, title, onSubmit }) {
|
||||
<label className={styles.label}>제목</label>
|
||||
<input
|
||||
type="text"
|
||||
maxLength={200}
|
||||
maxLength={50}
|
||||
className={styles.titleInput}
|
||||
placeholder="제목을 입력하세요"
|
||||
value={articleTitle}
|
||||
onChange={(e) => setArticleTitle(e.target.value)}
|
||||
/>
|
||||
{articleTitle.length > 190 && <div className={styles.textLength}>{articleTitle.length} / 200</div>}
|
||||
{articleTitle.length > 49 && <div className={styles.textLength}>{articleTitle.length} / 50</div>}
|
||||
</div>
|
||||
<div className={styles.fieldWrapper}>
|
||||
<label className={styles.label}>내용</label>
|
||||
@ -64,7 +64,7 @@ export default function CreateArticle({ topic, title, onSubmit }) {
|
||||
onChange={handleInput}
|
||||
style={{ overflow: 'hidden' }}
|
||||
></textarea>
|
||||
{articleContent.length > 950 && <div className={styles.textLength}>{articleContent.length} / 1000</div>}
|
||||
{articleContent.length > 999 && <div className={styles.textLength}>{articleContent.length} / 1000</div>}
|
||||
</div>
|
||||
<button
|
||||
type="button"
|
||||
|
@ -81,7 +81,7 @@ export default function LectureForm({ title, topic, to = '..', initialValues = {
|
||||
<input
|
||||
className={styles.input}
|
||||
ref={titleRef}
|
||||
maxLength={200}
|
||||
maxLength={50}
|
||||
type="text"
|
||||
placeholder="강의명을 입력하세요"
|
||||
/>
|
||||
@ -128,7 +128,7 @@ export default function LectureForm({ title, topic, to = '..', initialValues = {
|
||||
<input
|
||||
type="text"
|
||||
ref={timeRef}
|
||||
maxLength={200}
|
||||
maxLength={50}
|
||||
className={styles.input}
|
||||
placeholder="실제 강의 진행 시간을 입력하세요"
|
||||
/>
|
||||
|
@ -53,7 +53,7 @@ export default function QuizsetForm({ headerTitle, topic, to, onSubmit, initialV
|
||||
<input
|
||||
className={styles.input}
|
||||
type="text"
|
||||
maxLength={200}
|
||||
maxLength={50}
|
||||
value={title}
|
||||
onChange={(e) => setTitle(e.target.value)}
|
||||
placeholder="퀴즈셋 제목을 입력해주세요"
|
||||
|
Loading…
Reference in New Issue
Block a user