From 1a726acc40db6a8a0ffe5efcbc684cac660818d1 Mon Sep 17 00:00:00 2001 From: Mykola Skrynnyk <45297092+mykolaskrynnyk@users.noreply.github.com> Date: Mon, 16 Sep 2024 13:37:43 +0200 Subject: [PATCH] Refactor(app): elaborate the sidebar example --- pages/standard.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pages/standard.py b/pages/standard.py index d04d02c..daae178 100644 --- a/pages/standard.py +++ b/pages/standard.py @@ -60,6 +60,13 @@ st.subheader("Sidebar Title") with st.container(): st.info("There could be your content.", icon=":material/lightbulb:") + search = st.text_input("Search") + tags = st.multiselect("Tags", OPTIONS) + clicked = st.button("Search", type="primary") + if clicked: + st.subheader("Search Parameters") + st.json({"search": search, "tags": tags}) + with tab5: st.title("Title")