SearchBox
A search box (SearchBox) provides an input field for searching content within a site or app to find specific items.
Usage
Basic
Show code
Basic examples of BitSearchBox including a default and a disabled state.
Underlined
Show code
Demonstrating the underlined style of BitSearchBox in both enabled and disabled states.
Icon
Show code
Examples of BitSearchBox with various icon configurations such as fixed icon, no animation, custom icon, and no icon.
Search Button
Show code
Showcasing BitSearchBox with a search button in various configurations, including custom button icon and disabled state.
Style & Class
Show code
Explore styling and class customization for BitSearchBox, including component styles, custom classes, and detailed styles.
Component's Style & Class:
Styles & Classes:
Binding
Show code
Binding examples for BitSearchBox including two-way binding, OnChange, and OnSearch events.
Two-way
Immediate
OnChange
Search Value:
OnSearch (Search by Enter)
Search Value:
Validation
Show code
Demonstrating validation of BitSearchBox using data annotations.
Suggestion (AutoComplete)
Show code
Examples of BitSearchBox with suggestion list, including custom filtering, minimum trigger characters, and more.
SuggestItems
SearchValue:
SuggestFilterFunction
SearchValue:
MinSuggestTriggerChars(1)
SearchValue:
MaxSuggestCount equals(2)
SearchValue:
DebounceTime(2000)
SearchValue:
ItemsProvider
SearchValue:
RTL
Show code
Use the BitSearchBox component in right-to-left (RTL).
API
BitSearchBox parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitSearchBox public members
Name |
Type |
Default value |
Description |
---|---|---|---|
BitTextInputBase parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitInputBase parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitInputBase public members
Name |
Type |
Default value |
Description |
---|---|---|---|
BitComponentBase parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitComponentBase public members
Name |
Type |
Default value |
Description |
---|---|---|---|
BitSearchBoxClassStyles properties
Name |
Type |
Default value |
Description |
---|---|---|---|
BitVisibility enum
Name |
Value |
Description |
---|---|---|
BitDir enum
Name |
Value |
Description |
---|---|---|
- On this page