React-Messenger-App icon indicating copy to clipboard operation
React-Messenger-App copied to clipboard

Message Button should be disabled if user doesn't enter his/her name.

Open akshay1027 opened this issue 3 years ago • 3 comments

Without entering name, one should not be allowed to send a message and the send/enter button should be disabled.

akshay1027 avatar Mar 21 '21 06:03 akshay1027

@akshay1027 How about the idea that without entering the message, user will not be able to see any messages ! What he will see is a warning or a note that "try again but this time enter your name"

What do you say ?

DhairyaBahl avatar Mar 21 '21 06:03 DhairyaBahl

This great as well! maybe we can send a toast message and redirect them to write their name again.

akshay1027 avatar Mar 21 '21 08:03 akshay1027

@akshay1027 That will also be great ! Feel free to make changes in the codebase. If they look good, then I will definitely take them in consideration.

All the best ^_^

DhairyaBahl avatar Mar 21 '21 09:03 DhairyaBahl