New Component: streamlit-keyup, a textbox that returns the text as you type

Example app: https://key-up.streamlitapp.com/

Hopefully a few people find this useful.

6 Likes

Thanks for sharing @blackary , super useful indeed! :rocket:

Is there a reason for not having this as part of the Streamlit native st.text_input?

1 Like

Good question: @marduk. There has been some discussion of that very idea here st.text_input live update parameter · Issue #4899 · streamlit/streamlit · GitHub – feel free to weigh in!

1 Like

In the meantime, I’c love to see it in our Tracker :smiley:

3 Likes

@andfanilo :white_check_mark: Added

element is displayed in iframe, dark theme shows it with a white padding (iframe background is white) and cant be restyled + does not update with theme switch

@nocyphr_nocyphr Good catch – PRs welcome :slight_smile:

@nocyphr_nocyphr Thanks to dreth (Daniel A.) · GitHub, there is a new release which fixes the background color issue