Skip to content

Hybrid select box / text_input widget (use text input to create new options) #1250

@nthmost

Description

@nthmost

Problem

tokestermw on the forum writes:

"Hi, it’s frequently the case that the user would like a pre-canned list, but the option to enter anything custom (e.g. model paths). It would be great if the selectbox can be also used as text_input.

I know it’s possible to add both of them and add some backend logic, but I thought it would be cleaner this way."

Solution

MVP:

Additional context

From forum post at https://discuss.streamlit.io/t/a-selectbox-that-doubles-as-text-input/2235

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:widgetsRelated to widget elementstype:enhancementRequests for feature enhancements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions