Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Seach Bar Multiple

The lens-search-bar-multiple is a wrapper for multitple searchbars.

Each search bar is visually separated by an “or” indicator, and users can append additional bars using a dedicated add button. It is primarily used for OR-based query logic where each search bar represents an independent branch of the search criteria.

A default <slot /> is provided to insert additional UI elements, such as a search or submit button.


Props

PropTypeDefaultDescription
noMatchesFoundMessagestring"No matches found"Message shown when no autocomplete options are available.
placeholderTextstring"Type to filter conditions"Placeholder text used across all search bars.
readOnlybooleanfalseMakes the component read-only from the user’s perspective. Values can still be modified programmatically via the store.

Example

You may also include a search button using the default slot:

<lens-search-bar-multiple>
    <lens-search-button title="Apply Filter"></lens-search-button>
</lens-search-bar-multiple>

Styling

The component exposes styling hooks via part attributes for full control over layout and appearance.

PartPurpose
lens-searchbar-multipleWrapper around the full multi-search component
lens-searchbar-multiple-wrapperWrapper for each search bar row
lens-searchbar-multiple-add-buttonAdd button to insert a new search bar group
lens-searchbar-multiple-or-indicatorVisual “or” indicator between search bars