Passing date from input to datepiker

without this fix, date in `DatePicker` and `DatePickerInput` may not match