Adding search
How to add and connect a search field to your data within Budibase
Use search when users need to narrow table data quickly.
There are three common patterns:
- Search a column directly in a Table
- Bind a form field to a filter
- Add a Filter component
Built-in table search
Use the Table's built-in search for a quick, single-column search. Hover over a
searchable column and select the magnifying glass. Enter a value in the search
field that appears in the column header.
The control depends on the field type. For example, text fields use a search
input, while option fields use a picker.
Form field search
Use a form field and a filter binding when you need a search input outside the
Table or want to control its label, placeholder, and layout.
To configure a text search:
- Add a Table
- Add a text input in a Form
- Open the Table's
Filteringsetting - Add a filter for the column you want to search
- Select the
Likeoperator for partial text matches - Bind the filter value to the form field
- Set the empty-filter behavior to return all rows
You can use the same pattern with a Data provider by configuring its filter
instead of the Table's filter.
Filter component
Use a Filter component when users should be able to choose or combine filters:
- Add a Filter component
- Select the Table or Data provider in
Target component - Configure the fields users can filter
- Choose the default filter operator
You can also allow users to clear their filters or persist their choices across
page reloads.
Related guide
Updated 4 days ago