[BUGFIX] DatePicker can't handle minDate and maxDate