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

Android: keyboard type set as number pad permits input of non-numeric values

    Details

    • Story Points:
      3
    • Sprint:
      2015 Sprint 24 SDK

      Description

      Problem

      New minor version of Titanium SDK has a new look of numeric keyboard.

      The problem is that it allows input of non-numeric values.

      Test case

      How to reproduce the issue:

      run this example with 1.7.4 version of Titanium SDK, click on text field and type "*" or "#" symbol. You'll see that they are present in text field, while they shouldn't be present.

      Compile and run same example with 1.7.3 SDK version and try to do same thing. You'll see that you can't input "*" or "#" symbols (or any other that is not a number).

      var win = Ti.UI.createWindow({
      	modal: true,
      	backgroundColor: '#000'
      });
       
      var textField = Ti.UI.createTextField({
      	width: 200,
      	keyboardType: Ti.UI.KEYBOARD_NUMBER_PAD
      });
       
      win.add(textField);
       
      win.open();
      

      Also, it would be nice if there was key in this new keyboard that would minimize keyboard (if that is possible).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                msamah Ashraf Abu (Inactive)
                Reporter:
                ivan.skugor Ivan Skugor
                Reviewer:
                Hieu Pham
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code