Set the DatePicker value to model.