AutocompleteOff Extension Add-on - Vaadin Add-on Directory
Set autocomplete off for V7 and V8 field componentsAutocompleteOffExtension is an extension for both Vaadin 7 and 8. It can be used to set the autocomplete attribute to disabled for Vaadin components extending
Issue trackerAbstractField
, such as TextField
and DateField
.
The extensions sets the attribute of the input element to autocomplete=off
in Google Chrome, and to a random number in others that do not respect the 'off' value.
#### **UPDATE**
There is a reported regression in Chrome that potentially breaks the extension! You can follow the progress of the issue in the Chromium bug portal.
Version 1.1 of the addon adds two methods, setAutocompleteOffWithRandomNumber and setAutocompleteOffWithManualValue which can be used to circumvent issues with Chrome.
Source Code
AutocompleteOff Extension Add-on version 1.0
AutocompleteOff Extension Add-on version 1.1
### Version 1.1.0
- Added setAutocompleteOffWithRandomNumber method
- Added setAutocompleteOffWithManualValue method