Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11042] MobileWeb: Cannot disable TextField autocorrect behavior

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-06-26T21:53:47.000+0000
Affected Version/sRelease 2.1.2
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterBenjamin Hatfield
AssigneeChris Barber
Created2012-09-21T10:27:10.000+0000
Updated2018-04-04T23:20:35.000+0000

Description

In MobileWeb, the TextField autocorrect behavior is always on despite setting the property to false. The code below works for Android and iOS, but not MobileWeb. REPRODUCTION: Need to add some words to the Android user dictionary, so there is something to autocorrect: Menu [Button] -> Settings -> Language & Keyboard -> User Dictionary -> Menu [Button] -> Add Run the following code on the Android emulator:
var win = Ti.UI.createWindow({backgroundColor: 'white'});

var textField = Ti.UI.createTextField({
	autocorrect: false,
	width: Ti.UI.FILL,
	borderWidth: 1,
	borderColor: 'gray',
	top: 10
});

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

alert(textField.autocorrect);
Start spelling a word you added to the user dictionary. ACTUAL RESULTS: Autocorrect will offer some assistance. EXPECTED RESULTS: Autocorrect should not show up. SIDE NOTE: Also suffers from TIMOB-10867, where the initial default value returned is false (if left unset during creation), but the default behavior acts as if it is true.

Comments

  1. Lee Morris 2017-06-26

    Resolving as "Won't Fix" as MobileWeb has been deprecated.
  2. Eric Merriman 2018-04-04

    Closing as will not fix.

JSON Source