datepicker input not being disabled