Interface HasAutocomplete

    • Field Detail

      • AUTOCOMPLETE_ATTRIBUTE

        static final String AUTOCOMPLETE_ATTRIBUTE
        Name of @{code autocomplete} attribute.
        See Also:
        Constant Field Values
    • Method Detail

      • setAutocomplete

        default void setAutocomplete​(Autocomplete autocomplete)
        Sets the Autocomplete attribute 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 - the autocomplete value, or null to unset
      • getAutocomplete

        default Autocomplete getAutocomplete()
        Gets the Autocomplete option of the field.
        Returns:
        the autocomplete value, or null if not set