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

Android: showDatePickerDialog and showTimePickerDialog ignore minDate and maxDate attributes

    Details

      Description

      The picker completely ignores the minDate and maxDate when shown as dialog. Code to reproduce:

          var pickerTime = Ti.UI.createPicker({
      	    //value: now,
      	    value: $.startDateTime.toDate(),
      	    type: Titanium.UI.PICKER_TYPE_TIME,
          	maxDate: new Date(),
      	    format24: true
      	});
      	
          pickerTime.showTimePickerDialog({format24: true});
      

      var pickerDate = Ti.UI.createPicker({
          value: now,
          maxDate: new Date(),
          minDate: new Date(),
          type: Titanium.UI.PICKER_TYPE_DATE
      });
       
          pickerDate.showDatePickerDialog();
      
      

        Attachments

          Activity

            People

            • Assignee:
              sunila Sunila
              Reporter:
              janhelleman Jan Helleman
              Reviewer:
              Ping Wang
              Tester:
              Ewan Harris
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration