From 698708bb1c306e4f221bb2f6380b1fa7b0642d52 Mon Sep 17 00:00:00 2001 From: Stephen Tramer Date: Fri, 22 Oct 2010 18:00:40 -0700 Subject: [PATCH] [#2113] Textfield test now unambiguously sets autocorrect/autocap values before testing. --- demos/KitchenSink/Resources/examples/textfield_therest.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demos/KitchenSink/Resources/examples/textfield_therest.js b/demos/KitchenSink/Resources/examples/textfield_therest.js index 484d228ac8d..c01b4b9bf40 100644 --- a/demos/KitchenSink/Resources/examples/textfield_therest.js +++ b/demos/KitchenSink/Resources/examples/textfield_therest.js @@ -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, @@ -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,