in the process of updating from v1.30 to v1.37. the latest issues is a breaking change in st.selectbox that I cannot find a reference to in docs, GH issues, or here.
selectbox used to be able to take a sequence/list of complex objects, tuples etc. and the selected option was returned as an instance of that type.
Now it seems like at least of a list of tuples its returning the just the key.
can somebody point me to details about the change and why?
I’ll try when I get some time, don’t have the code open at the moment.
In the meantime a little more colour…
After posting I figured it was related to a dict specifically. my old code was setting options with a dict.items(). The selected value was a dict item. once updated to v1.37 select value was the key of the dict item.