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

MobileWeb: DatePicker 'change' event does not fire when clicking on the calendar

    Details

    • Sprint:
      2014 Sprint 13 Tooling

      Description

      Description

      When changing the date in the DatePicker in MobileWeb, the 'change' event is not fired when clicking on the calendar.

      Code

      var win = Titanium.UI.createWindow({
      	backgroundColor : 'white'
      });
       
      var picker = Ti.UI.createPicker({
      	type : Ti.UI.PICKER_TYPE_DATE,
      	minDate : new Date(2009, 0, 1),
      	maxDate : new Date(2014, 11, 31)
      });
       
      picker.addEventListener('change', function(evt) {
      	alert('Changed date ' + evt.value);
      });
       
      win.add(picker);
       
      win.open();
      

      Test case

      1. Click on the date picker (event will fire)
      2. Click on the arrow to show the calendar, and pick a date (no event fired)
      3. Click on the arrow again and event will fire now

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              dcassenti Davide Cassenti
              Reviewer:
              Tim Poulsen
            • Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration