How to repro
- Run this script with streamlit
import streamlit as st
end = int(st.sidebar.text_input('Input:', '10'))
slider_output = st.sidebar.slider('slider', 0, end, 0)
st.write(selected_frame_index)
- This is how it shows in the browser

- Change the input to
10 and move the slider all the way to the right. The number 10 should appear in the main column

- Change the input value back to 1

What happens
The value in the main column is 10
What should happen:
The value in the main column should not be 10, but it should be within the bounds of the slider
How to repro
10and move the slider all the way to the right. The number10should appear in the main columnWhat happens
The value in the main column is 10
What should happen:
The value in the main column should not be 10, but it should be within the bounds of the slider