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

Windows: picker 'change' event not working from .xml

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Affects 5.2.0

      Okay, I provide sample code:

      index.js:

      $.picker.add(_.map(['1', '2', '3'], function(value){
      	return Ti.UI.createPickerRow({title: value});
      }));
       
      function onChangePicker() {
      	alert('picker changed');
      }
       
      $.win.open();
      

      index.xml:

      <Alloy>
          <Window id='win' backgroundColor="green" layout='vertical'>
      		 <Picker id='picker' onChange='onChangePicker' />
          </Window>
      </Alloy>
      

      It's not working!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zozo4kin Zakhar Zhuravlev
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Source Code