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

Android: TextField.editable will Return undefined if do not set editable value, works well in IOS

    Details

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

      Phone: Samsung Note 2
      Platform: Android 4.3
      Titanium Studio: 3.4.1.201410281727
      Titanium SDK: 3.5.0.GA (tested 3.4.1.GA with same result)

      Description

      Android does not return boolean editable status, same code works on iOS.

      Actual result:
      [INFO] : undefined
      [INFO] : undefined

      Correct result:
      [INFO] : true
      [INFO] : true

      ---> index.xml
      <Alloy>
      <Window class="container">
      <TextField id="label" onClick="doClick">Hello, World</TextField>
      </Window>
      </Alloy>

      ---> index.js
      function doClick(e)

      { alert($.label.value); Ti.API.info($.label.editable); Ti.API.info($.label.getEditable()); }

      $.index.open();

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              melvinchia Melvin Chia
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Integration