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 org.patternfly.component.textinputgroup.BaseSearchInput
noDefaultOnClear, onClear, showUtilitiesIf, value, valueMethods inherited from class org.patternfly.component.textinputgroup.BaseTextInputGroup
add, addUtilities, applyTo, disabled, icon, input, onChange, onKeyup, placeholder, removeIcon, resetValidation, utilities, validated, valueMethods inherited from class org.patternfly.component.BaseComponent
componentType, element, registerComponentMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.patternfly.component.ComponentIcon
iconMethods inherited from interface org.jboss.elemento.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.jboss.elemento.HTMLElementAttributeMethods
titleMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.jboss.elemento.HTMLElementVisibilityMethods
hiddenMethods inherited from interface org.patternfly.style.Modifiers.Disabled
disabled, isDisabledMethods inherited from interface org.patternfly.style.Modifiers.Plain
plain, plain
-
Method Details
-
searchInput
-
searchInput
-
that
-