Class SearchInput
java.lang.Object
org.patternfly.component.BaseComponent<HTMLElement, SearchInput>
org.patternfly.component.textinputgroup.BaseTextInputGroup<SearchInput>
org.patternfly.component.textinputgroup.BaseSearchInput<SearchInput>
org.patternfly.component.textinputgroup.SearchInput
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement, SearchInput>, ElementClassListMethods<HTMLElement, SearchInput>, ElementConsumerMethods<HTMLElement, SearchInput>, ElementContainerMethods<HTMLElement, SearchInput>, ElementEventMethods<HTMLElement, SearchInput>, ElementIdMethods<HTMLElement, SearchInput>, ElementQueryMethods<HTMLElement>, HTMLElementAttributeMethods<HTMLElement, SearchInput>, HTMLElementDataMethods<HTMLElement, SearchInput>, HTMLElementStyleMethods<HTMLElement, SearchInput>, HTMLElementVisibilityMethods<HTMLElement, SearchInput>, IsElement<HTMLElement>, TypedBuilder<HTMLElement, SearchInput>, Component, ComponentIcon<HTMLElement, SearchInput>, HasValue<String>, Validatable<HTMLElement, SearchInput>, Modifiers.Disabled<HTMLElement, SearchInput>, Modifiers.Plain<HTMLElement, SearchInput>
A search input is a special text input group that adds a clear utility button. The clear button
is only visible if the input field is not empty. By default, the clear button clears the input field (w/o firing a change
event).
Use BaseSearchInput.noDefaultOnClear() to disable the default clear behavior. You can add additional clear handlers using
BaseSearchInput.onClear(ComponentHandler). To control the utilities visibility use BaseSearchInput.showUtilitiesIf(BiFunction).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchInputsearchInput(String id) static SearchInputsearchInput(String id, String value) that()Methods inherited from class BaseSearchInput
noDefaultOnClear, onClear, showUtilitiesIf, value, valueMethods inherited from class BaseTextInputGroup
add, addUtilities, applyTo, disabled, icon, input, onChange, onKeyup, placeholder, removeIcon, resetValidation, utilities, validated, valueMethods inherited from class BaseComponent
componentType, element, registerComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ComponentIcon
iconMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface HTMLElementVisibilityMethods
hiddenMethods inherited from interface Modifiers.Disabled
disabled, isDisabledMethods inherited from interface Modifiers.Plain
plain, plain
-
Method Details
-
searchInput
-
searchInput
-
that
-