reset minDate and maxDate when set empty string