Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/disable input on ask #1861

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

lamylio
Copy link
Contributor

@lamylio lamylio commented Feb 5, 2025

Hey,

Small modification that I think is could prevent confusion of end-users. When a AskUser* component is sent, the ability to send messages is disabled (the send button, the settings and so on), yet the "text-area" is not, and the placeholder still shows "Type your message here..." even if we can't.

This PR aims to fix this.

Note: I've also though of creating a new translation chat.input.disabled instead of it being empty, so LMK.

Before:
image

After:
image

PS. Sorry for the double PR, selected wrong branch.

@lamylio lamylio force-pushed the fix/disable-input-on-ask branch from 315492e to 0cf1659 Compare February 5, 2025 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants