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

Android: TextField with passwordMask fires unwanted `change` event

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.2.0
    • Component/s: None
    • Environment:

      Android (tested on Nougat 7.1), using Ti SDK 6.0.1.GA, Alloy 1.9.5

    • Sprint:
      2017 Sprint 10 SDK

      Description

      When assigning `passwordMask` to a TextField input, a `change` event is called in the controller. This should not happen. Bug does not occur on iOS.

      Testcase:

      Controller: index.js

      $.password.addEventListener('change', function(e) {
          Ti.API.error(JSON.stringify(e));
      })
       
      $.index.open();
      
      

      View: index.xml

      <Alloy>
      	<Window class="container">
      		<TextField id="password" passwordMask="true" />
      	</Window>
      </Alloy>
      

        Attachments

          Activity

            People

            • Assignee:
              amukherjee Abir Mukherjee
              Reporter:
              uzbbert Bert
              Reviewer:
              Gary Mathews
              Tester:
              Josh Longton
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code