[TIMOB-8934] Android: TextField - If autocorrect is set to false, then the decimal keyboard does not appear and user cannot use the decimal point
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-02-26T11:17:50.000+0000 |
Affected Version/s | Release 2.0.2, Release 2.1.0, Release 2.0.1 |
Fix Version/s | n/a |
Components | Android |
Labels | api, module_textfield, parity, qe-and060112, qe-review, qe-testadded |
Reporter | Wilson Luu |
Assignee | jithinpv |
Created | 2012-04-30T17:05:46.000+0000 |
Updated | 2013-03-13T19:13:11.000+0000 |
Description
Details: When you createTextField() and set *autocorrect* to false and *keyboardType* to Ti.UI.KEYBOARD_DECIMAL_PAD, the decimal keyboard does not appear on Android devices. And, you cannot use the period as a decimal point.
However, the decimal keyboard will appear on iOS devices.
Steps to reproduce:
1. Launch the following code on Android:
var win = Ti.UI.createWindow({
backgroundColor:'white'
});
var textField = Ti.UI.createTextField({
hintText: 'text field',
borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,
autocorrect: false,
keyboardType: Ti.UI.KEYBOARD_DECIMAL_PAD
});
win.add(textField);
win.open();
Actual: The decimal keyboard does not appear on Android devices and you cannot use the decimal point. See attachments.
Expected: The decimal keyboard should appear on Android devices like on iOS devices.
Note:
* This bug is not a regression
* Above code works on iOS
Attachments
File | Date | Size |
---|---|---|
droid_no_decimal.png | 2012-04-30T17:05:46.000+0000 | 49645 |
ios_decimal.png | 2012-04-30T17:05:46.000+0000 | 28498 |
Galaxy Nexus - 4.0.4 SDK 2.1.0.v20120621132259 Studio build: 2.0.2.201205311912 V8
Bug still occurs on: SDK build: 2.1.0.v20120621224153 Titanium Studio, build: 2.1.0.201206211609 Runtime: v8 Device: Droid 1 (2.2.3)
Issue does not reproduce with sdk 3.0.2 and 3.1.0 .
Cannot reproduce this issue with: Tested with: Titanium Studio, build: 3.0.2.201302191606 Titanium SDK, build: 3.0.2.GA Devices: Nexus 7 Android version 4.2 GalaxyS3 Android version 4.0.4 Nexus 4 Android version 4.2
Tested with: Titanium Studio, build: 3.0.2.201302191606 Titanium SSDK, build: 3.1.0.v20130303194855 Device: Nexus4 Android version: 4.2 Closing as Cannot Reproduce.