Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14892] iOS7: TextField autocapitalization doesn't work

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2013-09-03T22:35:54.000+0000
Affected Version/sRelease 3.1.2
Fix Version/s2013 Sprint 18, 2013 Sprint 18 API
ComponentsiOS
Labelsautocapitalization, ios7, textfield
ReporterFokke Zandbergen
AssigneeSabil Rahim
Created2013-08-15T11:59:20.000+0000
Updated2017-07-07T06:32:32.000+0000

Description

*Problem* Setting a TextField's autocapitalization to Ti.UI.TEXT_AUTOCAPITALIZATION_ALL doesn't work. *Test case*
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 : 40,
	autocapitalization : Ti.UI.TEXT_AUTOCAPITALIZATION_ALL
});

win.add(textField);
win.open();

Comments

  1. Ingo Muschenetz 2013-08-30

    We believe this might be an Apple bug.
  2. Sabil Rahim 2013-09-03

    Works fine device and simulator soft keyboard. You would run into this issue on simulator if you try typing from hardware keyboard on your mac instead of the simulator soft keyboard, as "autocapitalization" essential sets caps lock only on the software keyboard on the sim/device.
  3. Eric Merriman 2017-03-03

    Closing as invalid.
  4. Ashish Sebastian 2017-07-07

    Hi, This is not an Apple Bug, because its not working with Android also, I tried it with Samsung S4, nexus 4 and few more devices. I am using titanium SDK : 5.3.1 GA. I would like to open this issue again. Thanks Ashish Sebastian

JSON Source