Skip to content

SearchField

A search box for a RecordList on the same screen.

Use it for: Finding rows by text. The list’s operation names the text fields to search; the list reloads as the user types.

  • CategoryInput
  • ChildrenNone
  • DataNone
  • ActionNone
Prop Required Accepts What it does
label Yes text, up to 200 characters The visible label, also read by VoiceOver.
placeholder No text, up to 200 characters Grey hint text shown while the field is empty.

Every component also accepts id (required, unique on its screen), and the optional preset and style described in Style options. Every component except Screen accepts when, described in Data-driven look.

{
"id": "find",
"type": "SearchField",
"props": {
"label": "Search workouts",
"placeholder": "Search"
}
}