In interaction web forms, a query element displays a search query prompt with filter autocompletion.

start:
  await:
    form:
      title: Search Tickets
      elements:
        query/prompt_query:
          label: Query:
          record_type: ticket
          default@text:
            status:o

Syntax

label:

The optional label to display above the form element.

record_type:

The record type to use for query autocompletion. For instance, ticket or worker.

hidden:

This form element can be conditionally hidden.

hidden@bool: {{not worker_is_superuser}}

required@bool:

If user input is required on this element use a value of yes. Otherwise, omit.