SearchAction

An action that displays a search text field with dynamic proposals when selected. Add a listener on select to implement the action. On input, you may set a list of proposals. Includes Action

Properties

message

Type: string

A hint text that is displayed when the search input is empty.

proposals

Type: [string], default: []

The list of proposals to display.

text

Type: string

The text in the search input field.

Events

“accept” (widget, text, options)

Parameters:

Fired when a text input has been submitted by pressing the keyboard’s search key.

“input” (widget, text, options)

Parameters:

Fired the user inputs text.

See also