SearchBox
A search box (SearchBox) provides an input field for searching content within a site or app to find specific items.
Usage
Basic
Basic examples of BitSearchBox including a default and a disabled state.
Underlined
Demonstrating the underlined style of BitSearchBox in both enabled and disabled states.
Icon
Examples of BitSearchBox with various icon configurations such as fixed icon, no animation, custom icon, and no icon.
Search Button
Showcasing BitSearchBox with a search button in various configurations, including custom button icon and disabled state.
Style & Class
Explore styling and class customization for BitSearchBox, including component styles, custom classes, and detailed styles.
Component's Style & Class:
Styles & Classes:
Binding
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
Demonstrating validation of BitSearchBox using data annotations.
Suggestion (AutoComplete)
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
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 |
---|---|---|---|
BitInputMode enum
Name |
Value |
Description |
---|---|---|
BitVisibility enum
Name |
Value |
Description |
---|---|---|
BitDir enum
Name |
Value |
Description |
---|---|---|
- On this page