Module

SearchAction

Used to search particular record based on "title" property. It is used by select fields with autocomplete. Uses ShowAction component to render form

Implements:

View Source admin-bro/src/backend/actions/search-action.ts, line 3

Methods

# static handler() → {Promise.<SearchResponse>}

Search records by query string.

To invoke this action use ApiClient#resourceAction

Implements:

View Source admin-bro/src/backend/actions/search-action.ts, line 26

populated record

Promise.<SearchResponse>

Type Definitions

object

# SearchActionResponse

Response of a Search action in the API

Properties:
Name Type Description
records Array.<RecordJSON>

List of records

View Source admin-bro/src/backend/actions/search-action.ts, line 53