Skip to content

SiSearchBarComponent documentation

selector
si-search-bar

Input Properties

NameTypeDefaultDescription
colorVariant
BackgroundColorVariant'base-1'Color to use for component background
debounceTime
number400Time unit change of search input takes effect.
disabled
booleanfalse
placeholder
string''Define search input placeholder.
prohibitedCharacters
stringProhibited characters restricting search.
readonly
booleanfalse
showIcon
booleanfalseDisplay search icon before search input.
tabbable
booleantrueWhether the search is tabbable or not.
value
stringDefine search input content.

Output Properties

NameTypeDescription
searchChange
stringOutput callback event will provide you with search term if search input changes.

Types Documentation

Use this type with filter components colorVariant to render component variants based on background of container

Except where otherwise noted, content on this site is licensed under MIT License.