
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
streamlit-free-text-select
Advanced tools
A Streamlit component that allows you to select from a list of options or enter a custom value.
This component implements a selectbox that allows free text input. It is based on React-Select's 'Select' component.
pip install streamlit-free-text-select
import streamlit as st
from streamlit_free_text_select import st_free_text_select
options = ["apple", "banana", "cherry", "date", "elderberry", "fig", "grape"]
value = st_free_text_select(
label="Free text select",
options=options,
index=None,
format_func=lambda x: x.lower(),
placeholder="Select or enter a fruit",
disabled=False,
delay=300,
label_visibility="visible",
)
st.write("Free text select value:", value)
Parameters
label
: str
A short label explaining to the user what this input is for.options
: list
A list of predefined options to choose from.index
: int
An optional index to select an option by default, defaults to None.format_func
: callable
A callable function to format the options, defaults to None.placeholder
: str
A string to display when the input is empty, defaults to None.disabled
: bool
Whether the input is disabled, defaults to False.delay
: int
The time in milliseconds to wait before updating the component, defaults to 300.key
: str
An optional string to use as the unique key for the widget, defaults to None.label_visibility
: str
The visibility of the label, defaults to "visible". Options are "visible", "hidden", "collapsed".Returns str or None The value of the free text select input.
Sander Niels Hummerich |
Lorian Coltof |
index=0
not selecting the first option.label_visibility
and index
parameters.FAQs
A Streamlit component that allows you to select from a list of options or enter a custom value.
We found that streamlit-free-text-select demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.