"post comment" button should be disabled when no text written inside (fix suggestion)

TziExEmTziExEm ✭✭

Description

When user click "post comment" button and there is no text or attached files inside, the empty comment is being posted into the thread.


Possible fix

"Post comment" button should be disabled when there is no text inside.

When user start typing or attach an image the button should be enabled.


Example

"Leave a Comment" section is empty [Button disabled]

User starts typing or attaching files [Button enabled]


Sign In or Register to comment.