Is it possible with the ui.calendar / datepicker to set the minDate to a year from the current date? I have a project that I need to be able to select a date within a year of the current date, if thats not selected, default to 2 weeks ago.
Can this be achieved also with the daterangepicker? Something like this?
If you want to work with a calendar in daterangepicker so the code will look like
// daterangesuggest properties
// daterange properties
// properties of each calendar
minDate: webix.Date.add(new Date(), -1, 'year'),
maxDate: new Date()
Information about DateRangePicker you can find here
Please check the sample:
It looks like you're new here. If you want to get involved, click one of these buttons!