Skip to content

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

Open
@julibeg

Description

@julibeg

Category

Input/Output

Scope

Minor Enhancement

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions