Class SearchInputGroup
java.lang.Object
org.patternfly.component.BaseComponent<HTMLElement, SearchInputGroup>
org.patternfly.component.textinputgroup.BaseTextInputGroup<SearchInputGroup>
org.patternfly.component.textinputgroup.BaseSearchInputGroup<SearchInputGroup>
org.patternfly.component.textinputgroup.SearchInputGroup
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement, SearchInputGroup>, ElementClassListMethods<HTMLElement, SearchInputGroup>, ElementConsumerMethods<HTMLElement, SearchInputGroup>, ElementContainerMethods<HTMLElement, SearchInputGroup>, ElementEventMethods<HTMLElement, SearchInputGroup>, ElementIdMethods<HTMLElement, SearchInputGroup>, ElementQueryMethods<HTMLElement>, HTMLElementAttributeMethods<HTMLElement, SearchInputGroup>, HTMLElementDataMethods<HTMLElement, SearchInputGroup>, HTMLElementStyleMethods<HTMLElement, SearchInputGroup>, HTMLElementVisibilityMethods<HTMLElement, SearchInputGroup>, IsElement<HTMLElement>, TypedBuilder<HTMLElement, SearchInputGroup>, Component, ComponentIcon<HTMLElement, SearchInputGroup>, Validatable<HTMLElement, SearchInputGroup>, HasValue<String>, OuiaSupport<HTMLElement, SearchInputGroup>, Modifiers.Disabled<HTMLElement, SearchInputGroup>, Modifiers.Plain<HTMLElement, SearchInputGroup>
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 BaseSearchInputGroup.noDefaultOnClear() to disable the default clear behavior. You can add additional clear handlers using
BaseSearchInputGroup.onClear(ComponentHandler). To control the utilities visibility use BaseSearchInputGroup.showUtilitiesIf(BiFunction).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchInputGroupsearchInput(String id, String value) static SearchInputGroupthat()Methods inherited from class BaseSearchInputGroup
noDefaultOnClear, onClear, showUtilitiesIf, value, valueMethods inherited from class BaseTextInputGroup
add, addUtilities, applyTo, disabled, icon, input, onChange, onInput, onKeydown, onKeyup, placeholder, removeIcon, resetValidation, utilities, validated, valueMethods inherited from class BaseComponent
componentType, element, ouiaComponentType, 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, plainMethods inherited from interface OuiaSupport
initOuia, initOuia, ouiaId, ouiaSafe, ouiaTransition
-
Method Details
-
searchInputGroup
-
searchInput
-
that
-