I like the spread layout of st.pills
especially when the available options are below 10. It would be great if I can set the max_selection for st.pills
just like that for st.multiselect
. For example, a comparison page would work for 2 or 3 comparison options. But would be overwhelming if too many options are selected at once. I feel like max_selection would be the most elegant approach in the above scenario. It would be great if this functionality could be added. Thank you!
You can file a feature request on GitHub. That is the primary way our engineers track interest in new features.