This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

johnytributante17670
johnytributante17670

Hi it is possible to choose DatePicker and this option MinDate to today? What can I do to minimum date I can tak is today? I tried to use function in model which return me todayDate or todayDate String and it not work. I can transfer functio to MinDate option? I tried this:

minDate: getDate

public function getDate(){
        return "2016-07-01";
    }

or this:

public function getDate(){
        return date('Y-m-d'); 
    }

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.