Skip to content

[Feature]: add disabled argument to ui.input_text() (and potentially other inputs) #2003

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

Open
julibeg opened this issue May 22, 2025 · 0 comments
Labels
enhancement New feature or request needs-triage

Comments

@julibeg
Copy link

julibeg commented May 22, 2025

Category

UI Components

Scope

Major Feature

Problem

It'd be great if we could dynamically disable / enable ui.input_text() form fields (similar to the behavior of ui.input_action_button()).

Quite often certain inputs only make sense when another input (e.g. a checkbox) is present and disabling / greying out these fields is a elegant way to handle that (but currently that's not possible).

Solution

It'd be great if a disabled argument could be added to ui.input_text() (and potentially other input types) analogously to ui.input_action_button().

Alternatives (Optional)

No response

Example (Optional)

Impact (Optional)

No response

Contribution? (Optional)

Yes, I can implement (or help).

@julibeg julibeg added enhancement New feature or request needs-triage labels May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant