How can I assign a checkbox which has the behaviour of toggling enable/disabling another widget, in this case a number input?
param = st.number_input( "Assign your parameter", key=f"param", disabled=False,) param_lock = st.checkbox( "Click to lock", key=f"lock")
Is it possible to add an
on_change arg to the button which then alters the
Or can anyone think of a work-around which might do this?