Skip to content
MyAppBuilder
StableFormsVersion 1

Dropdown

Overview

A dropdown list where the visitor picks one option. Options can be typed in by hand or loaded from an entity, which makes it the standard way to link a record to another one.

When to use

  • Status or priority on a job
  • Choosing the customer a job belongs to (options loaded from Customers)
  • Service type on a booking form
  • Country or region

When not to use

  • Fewer than 4 options that should all be visible: use Radio
  • Several choices at once: use Multi Select
  • Hundreds of options people search by typing: use Autocomplete

Quick start

  1. Add a Dropdown inside a Form and set Label and Field key
  2. Either edit Options (value + label) or choose “Load options from entity” and the field shown as label
  3. Set Placeholder to the text of the empty first choice (“Select a customer…”)
  4. Turn on Required to force a choice

Properties

Labeltext (bindable)

The caption shown above the field. Keep it short and specific ("Work email", not "Email 2"). It is also read by screen readers and used in automatic error messages.

Default: Dropdown

Example: Delivery address

Field keytext

The key this value is saved under when the form is submitted. To save into an entity field, use that field's key exactly (lowercase, underscores). Inputs without a key are not included in the saved record.

Default: select

Example: phone_number

Two inputs with the same key overwrite each other. Keys must start with a letter and contain only lowercase letters, digits and underscores.

Placeholdertext (bindable)

Grey example text shown inside the empty field. It disappears as soon as the visitor types, so never use it instead of a label.

Example: e.g. +1 555 0100

Help texttext (bindable)

A short hint shown under the field until a validation error replaces it. Use it for format expectations or why you ask for the information.

Example: We only call about your order.

Default valuetext (bindable)

The value the field starts with. It is included when the form is submitted even if the visitor never touches the field. Bind it to pre-fill the choice from the current user, a page parameter or the current record.

Example: option value such as new

Requiredboolean

Blocks submission while the field is empty and shows a red asterisk next to the label. The message is “<Label> is required” unless you set a Validation message.

Default: false

Read onlyboolean (bindable)

Shows the value but prevents editing. Useful for values you pre-fill and want the visitor to see but not change. Bind it to make a field editable only for some roles or statuses.

Default: false

Disabledboolean (bindable)

Greys the field out and skips it from keyboard navigation. Bind it to a condition such as “Status is Closed” to lock a field in context.

Default: false

Optionsoptions

Static list of choices. Each has a value (saved) and a label (shown). Match the values of a Select field in the entity so Kanban, Status Tracker and charts recognise them.

Default: [{"value":"option_1","label":"Option 1"},{"value":"option_2","label":"Option 2"}]

Example: new → New · in_progress → In progress · done → Done

Load options from entityentity

Replaces the static options with one option per record of the chosen entity (up to 500). The saved value is the record id, which is exactly what a Relation field expects.

Option label fieldfield

Which field of the loaded records is shown as the option text. Defaults to the entity's display field.

Data binding

Saves the option value (text) into a Select field, or the chosen record's id into a Relation field when options come from an entity. The empty first option shows the Placeholder (or “Select…”).

Properties that can use dynamic data: Label, Placeholder, Help text, Default value, Read only, Disabled, data.

Events

On change
Runs every time the selection changes. The new value is available as Event → value. Typical uses: Set State to drive a filter or a visibility rule, Show Toast for instant feedback. Avoid slow actions (API calls) on every keystroke.
On focus
Runs when the visitor enters the field (click or Tab). Useful for showing contextual help or opening a drawer with instructions.
On blur
Runs when the visitor leaves the field. A good moment to run lookups (e.g. fetch customer details once an email is complete) because it fires once instead of on every keystroke.

Actions

Open the Actions tab in the inspector, pick an event and add actions such as Go to page, Create record or Show message. Actions run in order; data-changing actions run on the server with the signed-in user's permissions.

Other components can read this component's value from the Data Picker → Component state.

Responsive behavior

Uses 6 of 12 columns by default. In the Responsive tab you can change visibility, span, dimensions, padding, margin, font, order, alignment, direction separately for tablet and mobile.

Permissions

Use the Permissions tab to show this component only to some roles. Hiding a component is a convenience, not security — the server always checks who may read or change data.

Examples

Link a job to a customer

Example
Label: Customer
Field key: customer_id (Relation → Customers)
Load options from entity: Customers
Option label field: name
Required: on

Static status

Example
Label: Status · Field key: status
Options: new → New, quoted → Quoted, approved → Approved
Default value: new

Common patterns

  • Outside a form, bind a Table filter to Component state → Dropdown → value for a status filter
  • On Change → Set State to show extra fields only for certain choices

Limitations

  • Options loaded from an entity are limited to 500 records and are not filtered; use Autocomplete for large lists
  • No option groups or icons

Troubleshooting

Kanban or charts show the raw value instead of the label

Why: The input's option values do not match the entity field's option values

Fix: Copy the values from the entity field's options

The dropdown is empty when loading from an entity

Why: The current role may not read that entity

Fix: Grant read access to the related entity for that role

Related

Was this helpful?