Interface HasAutocomplete
- All Superinterfaces:
HasElement,Serializable
- All Known Implementing Classes:
AbstractNumberField,BigDecimalField,EmailField,IntegerField,NumberField,PasswordField,TextArea,TextField,TextFieldBase
Mixin interface for fields with
autocomplete attribute.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault AutocompleteGets theAutocompleteoption of the field.default voidsetAutocomplete(Autocomplete autocomplete) Sets theAutocompleteattribute for indicating whether the value of this component can be automatically completed by the browser.Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
-
Field Details
-
AUTOCOMPLETE_ATTRIBUTE
Name of @{code autocomplete} attribute.- See Also:
-
-
Method Details
-
setAutocomplete
Sets theAutocompleteattribute for indicating whether the value of this component can be automatically completed by the browser.If not set, devices may apply their own defaults.
See autocomplete attribute for more information.
- Parameters:
autocomplete- theautocompletevalue, ornullto unset
-
getAutocomplete
Gets theAutocompleteoption of the field.- Returns:
- the
autocompletevalue, ornullif not set
-