Hello, I have several text-inputs and I want to be able to set/clear their values on certain triggers (say, a button). the following code does the job, but the text-input has full-width. Is there any way i can set custom width?
emp = st.empty()
transport = emp.text_input('Transport', 0)
if st.button('Set transport to 10'):
transport = emp.text_input('Transport', 10)
Normally it goes smth like this:
col1, col2 = st.beta_columns([2, 1])
but replacing ‘emp’ with ‘col1’ doesn’t seem to work…