Skip to content

Ability to accept input from Charts, Tables, etc. #455

@tvst

Description

@tvst

What if every output element could also serve as an input widget?

Then you could do things like:

  • User clicks on chart datapoint → python script receives the value for that data point and does something with it
  • User zooms into a chart → python script receives the new zoom bounds and does something with it
  • User clicks on dataframe rows → python script receives row index and does something with it
  • User click on two points on an image → python script draws a rectangle touching those points
  • User edits a row on a dataframe → python script receives the new dataframe

Related discussions:


Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.

If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.

Visits

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