In my dash app, I need my user to select a time period (in days). For that, I’m using a DatePickerRange.
However, I want to limit the max duration of this period — i.e., I don’t want the user to be able to select more than 1 month.
I know that the DatePickerRange has a minimum_nights property, but I haven’t found any maximum_nights.
➥ What is the best way to set a max limit to the period the user can select?
(I can imagine something with two date pickers with cross callbacks, but this doesn’t seems very “clean”)