date_time_picker icon indicating copy to clipboard operation
date_time_picker copied to clipboard

AM / PM will disappear after selecting "OK" button without changing time

Open basilmariano opened this issue 2 years ago • 1 comments

The AM / PM will disappear when Opening the DateTimePicker and Tapping "OK" button without changing time time.

Step to replicate:

  1. Open date time picker
  2. Select a Date and time "5:00 AM"
  3. Close the picker
  4. Open Picker
  5. Set the selected date time from previous selection as initial date
  6. Picker shows "5:00 AM"
  7. Tap "OK" button
  8. Picker shows "5:00"

basilmariano avatar Dec 10 '21 02:12 basilmariano

possible solution is to add a callback when user taps "OK" button, and we can take it from there. At the moment, when user taps "OK" button, nothing happens if there is no date and time changes.

possible to have "OK" callback button regardless if there aren't any changes and also "Cancel" callback if we have something to do after user taps "cancel" button in datepicker

basilmariano avatar Dec 16 '21 01:12 basilmariano