Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[#2113] Textfield test now unambiguously sets autocorrect/autocap val…
…ues before testing.
  • Loading branch information
sptramer committed Oct 23, 2010
1 parent a24aa5b commit 698708b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demos/KitchenSink/Resources/examples/textfield_therest.js
Expand Up @@ -66,6 +66,7 @@ b2.addEventListener('click', function()
});
win.add(b2);

tf1.autocorrect = true; // Need to specify an absolute value or we're at the mercy of iOS' default (and maybe android's)
var b3 = Titanium.UI.createButton({
title:'Autocorrect',
height:40,
Expand Down Expand Up @@ -108,6 +109,7 @@ b5.addEventListener('click', function()
});
win.add(b5);

tf1.autocapitalization = true; // See autocorrect note
var b6 = Titanium.UI.createButton({
title:'Capitals',
height:40,
Expand Down

0 comments on commit 698708b

Please sign in to comment.