Skip to content

@serenity-is/corelib / GridUtils / addQuickSearchInputCustom

Function: addQuickSearchInputCustom()

addQuickSearchInputCustom(container, search, fields?): QuickSearchInput

Defined in: src/ui/helpers/gridutils.tsx:180

Parameters

container

The container element (or array-like of elements).

HTMLElement | ArrayLike<HTMLElement>

(field, query, done) => void

The custom search handler.

fields?

QuickSearchField[]

Optional quick search fields.

Returns

QuickSearchInput

The created QuickSearchInput widget.

Deprecated

use addQuickSearch with named args Adds a quick search input with a custom search handler.