On 30 sep, 12:34, Vikas <[email protected]> wrote:
> Most of the all web applications shows history/private data for text
> fields.
> For example, When we start typing something in 'Search this group'
> fields of this forum it shows popup list with string previously
> entered.
>
> I think this is the default behavior for html based text fields.
> How to do this for GWT text fileds (TextBox)?
Try:
textBox.getElement().setPropertyString("autocomplete", "off");
or
textBox.getElement().setPropertyBoolean("autocomplete", false);
It's originally an IE extension that has been adopted by others and is
now being standardized as part of HTML5:
http://www.w3.org/TR/html5/forms.html#the-autocomplete-attribute
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---