Yes, that functionality is in the brand new release, actually! @jaycoolslm
Update your version of Streamlit to >=1.25.0.
>=1.25.0