Interface HasPlaceholder

    • Method Detail

      • setPlaceholder

        void setPlaceholder​(String placeholder)

        Displays a short text in the input field, that describes the meaning of this field. This is part of HTML 5, the theme should emulate the behaviour, when the browser doesn't support it.

        The text will not be displayed, when the input field is readonly or disabled.

        Parameters:
        placeholder - The text to display