allow setting mindate for datepicker