-
-
Notifications
You must be signed in to change notification settings - Fork 506
Open
Labels
enhancementNew feature or requestNew feature or requestpriorityTo be fixed in priorityTo be fixed in priority
Description
In some cases, I want to disable the ability to enter a message. For example, a user has blocked the ability to send messages to him.
At the same time, opening the room and reading the history should still be available.
The show-footer attribute allows you to hide the footer completely, but how can you show the user a message with a reason why he can't write a message?
Thank you for the answer :)
seyfer
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpriorityTo be fixed in priorityTo be fixed in priority
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
antoine92190 commentedon Oct 24, 2022
I can add a prop to disable the input. But the reason should be managed outside the library. For example you could add a click listener to the input, and show an alert
catthecreator commentedon Oct 28, 2022
I think it would be great to be able to display a custom slot when the user has no way to type a message
antoine92190 commentedon Oct 28, 2022
Indeed that could offer more flexibility. I will add that soon:
palewithout commentedon Apr 11, 2023
Also looking forward to this feature
arufonsekun commentedon Apr 19, 2023
A slot for
room-footer
would be greatpalewithout commentedon May 15, 2023
Another problem is that when typing Esc on the keyboard, the already entered content will be cleared. Sometimes the multilingual input method forgets to switch languages, and Esc will be used to cancel the input of the current few characters, but I don’t want to clear everything. If there is a


room-footer
slot, I can implement a similar function by myselfLike the picture above, esc on the github input box will not clear all the string
despatates commentedon Aug 17, 2023
Any update about this prop to disable the text input?
I would like to make some chat rooms read-only under certain conditions.
seyfer commentedon Sep 12, 2023
+1, Every chat needs this functionality
vesper8 commentedon Nov 23, 2023
Any update? I know you can toggle the footer on and off but this looks weird, better to grey out the input / disable the input and leave it in place.