Hi Folks,
Following the example on the official blog, I am trying to combine session state with callbacks. However, I would like to add a checkbox inside the form. You can see the entire code below.
What happens is the following:
(1) the first time I hit the st.form_submit_button, the slider appear but state of st.session_state.price does not change.
(2) second time, it works as expected by changing the state of price.
I have tried different things but it seems like it has to do with the way session state need to be initialized.
What I need for my use case is to include two or more chechbox widgets inside the form which represent two conditions to filter out the data.
So that a users can hit either any or both of chechboxes.
I am using streamlit 0.84.2
Is there any turnaround for a similar issue?
Thanks in advance!