(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

Lookup Input

Overview

Example Lookup Input Example Lookup Input Dialog

Specs

Tokens

Token Description
displayName Display name of the component shown in the structure panel
labelTranslations Field label with localization support
dialogTitleTranslations Title text for the lookup dialog with localization support
dialogSubtitleTranslations Subtitle text for the lookup dialog with localization support
hidden Controls whether the component is visible in the form
saveInLocalStorage Determines if the value is preserved in local storage between sessions
defaultValue Sets the initial value when the form is reset
readonly Controls whether the lookup value can be changed
elements Columns configuration for the data grid in the lookup dialog
getElementsDataSourceId Data source ID for retrieving data to populate the lookup dialog
getEntityCollectionHttpRequestParametersMap HTTP parameters for data fetching
enablePagination Activates server-side pagination in the lookup dialog
pageSize Sets the number of records displayed per page in the dialog
valueKey Field used as the stored value when an item is selected
displayValueKey Field shown in the input field after selection
dataField Field name used when submitting form data
controlsRequestType How field data is sent in HTTP requests (BODY, HEADER, PATH)
validation Configures validation rules for the lookup input
required Field must have a selection before form submission
authorizationDisable Policy set that disables the component based on permissions
events Configures the events that the component can trigger/respond to
ON_INIT (Events) Event triggered when the component initializes
ON_DESTROY (Events) Event triggered when the component is removed
dataTestId Testing hook ID for automated testing

Structure

(Configured in General Properties)

(Configured in Visual Properties)

(Configured in Column)

Column configurations

(Configured in Datasource)

Datasource configuration

Submit

(Configured in Datasource)

(Configured in Non-Visual Properties)

Styling

(Configured in Visual Properties)

Actions & Variants

(Configured in Visual Properties)

(Configured in Events)

Validation

(Configured in Validation)

Authorization

(Configured in Authorization)

Tests

(Configured in Testing Hooks)

Guidelines

Usage

Sizing & Layout

States & Feedback

Visibility & Authorization

Content & Localization

Dos & Don’ts

Do Don’t Article setting(s)
Store a stable ID and show a readable name. Store the display name as the value. valueKey, displayValueKey, dataField
Localize label, dialog title, and subtitle. Ship English-only strings. labelTranslations, dialogTitleTranslations, dialogSubtitleTranslations
Keep the grid focused on decisive fields. Show every backend column. elements
Use pagination for large datasets. Load thousands of rows at once. enablePagination, pageSize
Persist frequent selections across sessions. Force users to reselect on every visit. saveInLocalStorage
Mark essential relationships as required. Let forms submit with missing relations. validation.required
Respect permissions by disabling interaction. Hide the control when users need to see the value. authorizationDisable
Hide the field when irrelevant. Show an inert field with no purpose. hidden
Submit data through the intended channel. Rely on defaults that mismatch your API. controlsRequestType, dataField
Provide a stable test hook for QA. Select the control via brittle selectors. dataTestId
Set a safe, obvious default only when appropriate. Pre-fill with a misleading value. defaultValue

Accessibility