Available Dates for date_input

Hi, I’d like to specify available dates for the date_input widget (e.g. disable the unavailable dates / mark them as gray background). Is there any way to hack it? I noticed the dates are specified via aria-label strings.

Thanks.

Hey @allenfrostline,

There’s no way to do that currently, but feel free to open a feature request in Streamlit’s Github repo.

Alternately, we have an upcoming plugins feature (discussed on the Streamlit 2020 Roadmap) that will let anyone write their own frontend component that integrates with Streamlit, which will make customizing this sort of thing much more straight-forward.