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 adminjs/src/backend/actions/search/search-action.ts, line 4

Methods

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

Search records by query string.

To invoke this action use ApiClient#resourceAction

Implements:

View Source adminjs/src/backend/actions/search/search-action.ts, line 27

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 adminjs/src/backend/actions/search/search-action.ts, line 61