arsentievalex / streamlit-dynamic-filters

Custom component with dynamic multiselect filters for Streamlit
MIT License
68 stars 12 forks source link

Add method to reset filters #12

Closed ragchuck closed 2 months ago

ragchuck commented 3 months ago

I missed a function to reset all filters using a single button, so I added a method for it. :) Can be called from a button:

Example:

st.button("Reset Filters", on_click=dynamic_filters.reset_filters)
arsentievalex commented 2 months ago

thanks for contribution!