DateRangePicker maximum nights

Hello !

I’m actually using the DatePickerRange component. As you can see on my code, I used “minimum_nights” to set the minimum number of nights for the input of my DatePickerRange. Now, I want to do the same but for a maximum number of nights (maximum one month in the DatePickerRange for example). How can I do that?
I put a small example with this text.

image

Thank you in advance,

2 Likes