[TIMOB-24250] Android: TextField AUTOCAPITALIZATION_ALL property doesn't work with googles new keyboard: GBoard
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-01-10T21:30:51.000+0000 |
Affected Version/s | Release 6.0.0 |
Fix Version/s | Release 6.1.0 |
Components | Android |
Labels | n/a |
Reporter | Jebun Naher |
Assignee | Maggie Chen |
Created | 2016-12-21T10:40:30.000+0000 |
Updated | 2017-01-10T22:41:26.000+0000 |
Description
*Issue description:*
Google has recently updated there keyboard to GBoard. I noticed that a text field which has the autocapitalization property set to Titanium.UI.TEXT_AUTOCAPITALIZATION_ALL is not working in android. Whereas this works fine with the previous of google keyboard.
*Steps to reproduce*:
1. Make sure your device's default Google Keyboard is updated to GBoard (New google keyboard)
2. Create a project and add the test code provided below
3. Test on any version of android above 4.4.x.
4. See the auto-capitalization property not taking place.
*Expected*: The typed text should automatically be capitalize
*Actual*: Text doesn't capitalize
Test code:
var win = Ti.UI.createWindow({
backgroundColor : 'white'
});
var textField = Ti.UI.createTextField({
borderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED,
color : '#336699',
top : 10,
left : 10,
width : 250,
height : 60,
autocapitalization: Ti.UI.TEXT_AUTOCAPITALIZATION_ALL
});
win.add(textField);
win.open();
Related link: http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TextField-property-autocapitalization
Thanks
Verified fix, with the test code provided in the description; was able to see auto capitalization on text which was being typed. *Environment*