Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26256

iOS: Removing and re-adding a date/time picker resets selection to current time

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS

      Description

      Summary:
      Picker resets its date/time selection back to current time when it's removed and re-added to the window. This happens with Ti.UI.PICKER_TYPE_DATE and Ti.UI.PICKER_TYPE_TIME.

      This is not an issue on Android.

      Steps to reproduce:

      1. Create a project using the attached DatePickerAddRemoveTest.js code.
      2. Build and run on iOS.
      3. Select a different date/time in the picker.
      4. Tap the "Remove" button.
      5. Tap the "Add" button.
      6. Observe the picker's current date/time.

      Result:
      Picker resets its selection to current time. Previous selection was forgotten.

      Expected Result:
      Last date/time selection should be retained.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jquick Joshua Quick
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-6495
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration