disable autocapitalize to improve behavior on mobile browsers

This commit is contained in:
nightwing 2012-10-26 01:45:32 +04:00
commit 0e87da74b2

View file

@ -48,6 +48,8 @@ var TextInput = function(parentNode, host) {
text.setAttribute("x-palm-disable-auto-cap", true);
text.wrap = "off";
text.autocorrect = "off";
text.autocapitalize = "off";
text.spellcheck = false;
text.style.top = "-2em";