Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24250] Android: TextField AUTOCAPITALIZATION_ALL property doesn't work with googles new keyboard: GBoard

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-01-10T21:30:51.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sRelease 6.1.0
ComponentsAndroid
Labelsn/a
ReporterJebun Naher
AssigneeMaggie Chen
Created2016-12-21T10:40:30.000+0000
Updated2017-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

Comments

  1. Samir Mohammed 2017-01-10

    Verified fix, with the test code provided in the description; was able to see auto capitalization on text which was being typed. *Environment*
       Appcelerator Command-Line Interface, version 6.1.0
       Nexus 6p (Android 7.1)
       Operating System Name: Mac OS X El Capitan
       Operating System Version: 10.11.6
       Node.js Version: 4.6.0
       npm: 4.2.8
       Titanium SDK Version: 6.1.0.v20170110133045
       Xcode: 8.2
       Appcelerator Studio: 4.8.1.201612050850
       

JSON Source