CAF - Disable selected days in date range and date input control

Hi All,

I am trying to implement a solution where past/future dates older then specific time say (180 days ) are disabled in the date range input control and date control. So that user can’t select those days and avoid the dependency of writing javascript for validations.

Thanks for the help.
disableDates_DateControl.PNG