-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
MultimodalTextbox interactive=False doesn't work with the submit button #9967
Labels
bug
Something isn't working
Comments
lara-gfaria
added a commit
to lara-gfaria/gradio
that referenced
this issue
Mar 28, 2025
…s were not disabled In the MultimodalTextbox component, when interactive=False, the submit button remained active allowing users to submit inputs without being able to edit them. To fix this, I added restrictions to disable the submit, file upload and microphone buttons when interactive=False.
lara-gfaria
added a commit
to lara-gfaria/gradio
that referenced
this issue
Mar 28, 2025
…s were not disabled In the MultimodalTextbox component, when interactive=False, the submit button remained active allowing users to submit inputs without being able to edit them. To fix this, I added restrictions to disable the submit, file upload and microphone buttons when interactive=False.
lara-gfaria
added a commit
to lara-gfaria/gradio
that referenced
this issue
Mar 28, 2025
…s were not disabled In the MultimodalTextbox component, when interactive=False, the submit button remained active allowing users to submit inputs without being able to edit them. To fix this, I added restrictions to disable the submit, file upload and microphone buttons when interactive=False.
lara-gfaria
added a commit
to lara-gfaria/gradio
that referenced
this issue
Mar 28, 2025
In the MultimodalTextbox component, when interactive=False, the submit button remained active allowing users to submit inputs without being able to edit them. To fix this, I added restrictions to disable the submit, file upload and microphone buttons when interactive=False.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When setting interactive=False with MultimodalTextbox, it doesn't disable the submit button.
The text entry and image upload button are disabled so the content cannot be changed, but the submission can still take place.
Have you searched existing issues? 🔎
Reproduction
Screenshot
I can still click the submit button multiple times after it is set to be non-interactive.
Logs
No response
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: