Only show course description character count over 3000
This commit is contained in:
parent
94a296744c
commit
0f39901c76
|
@ -44,7 +44,12 @@ function InstructorCourseEditor(props) {
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Form.Field>
|
<Form.Field>
|
||||||
<label>Description — {input.description ? input.description.length : 0} / 6000</label>
|
<label>
|
||||||
|
Description
|
||||||
|
{input.description && input.description.length > 3000 && (
|
||||||
|
' — ' + (input.description.length+' / 6000')
|
||||||
|
)}
|
||||||
|
</label>
|
||||||
<ReactQuill
|
<ReactQuill
|
||||||
value={input.description || ''}
|
value={input.description || ''}
|
||||||
modules={modules}
|
modules={modules}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user