Disable RTE when submitting

This commit is contained in:
Chi Vinh Le
2018-09-07 17:29:38 +02:00
parent 8b938616c9
commit a7e4af46d2
2 changed files with 2 additions and 0 deletions
@@ -58,6 +58,7 @@ const PostCommentForm: StatelessComponent<PostCommentFormProps> = props => (
onChange={({ html }) => input.onChange(html)}
value={input.value}
placeholder="Post a comment"
disabled={submitting}
/>
</Localized>
{meta.touched &&
@@ -66,6 +66,7 @@ const ReplyCommentForm: StatelessComponent<ReplyCommentFormProps> = props => {
value={input.value}
placeholder="Write a reply"
forwardRef={props.rteRef}
disabled={submitting}
/>
</Localized>
{meta.touched &&