outsystems-ui - v3.0.0
    Preparing search index...

    Configuration accepted by DropdownAPI.Create, as an object or as its JSON string. Every member is required, as the platform always sends them all: an omitted one is not defaulted and stays undefined. Generated by scripts/docs-ai-generator/generate-pattern-types.mjs from the Dropdown configuration classes — do not edit.

    type Configs = {
        AllowMultipleSelection: boolean;
        ExtendedClass: string;
        IsDisabled: boolean;
        NoOptionsText: string;
        NoResultsText: string;
        OptionsList: unknown[];
        PopupDropboxBreakpoint: string;
        Prompt: string;
        SanitizeDropdownValues: boolean;
        SearchPrompt: string;
        ShowDropboxAsPopup: boolean;
        StartingSelection: unknown[];
    }
    Index
    AllowMultipleSelection: boolean

    Lets the user select more than one option.

    ExtendedClass: string

    Extra CSS classes applied to the pattern root element.

    IsDisabled: boolean

    Renders the dropdown disabled.

    NoOptionsText: string

    Message shown when there are no options.

    NoResultsText: string

    Message shown when a search matches no option.

    OptionsList: unknown[]

    Options to render: { value, label, image_url_or_class?, description?, group_name? }. Source type: DropDownOption[]

    PopupDropboxBreakpoint: string

    Viewport width (CSS length) below which the dropbox opens as a popup; set to the screen size on mobile.

    Prompt: string

    Placeholder shown while nothing is selected.

    SanitizeDropdownValues: boolean

    Escapes HTML in option labels and values before they are rendered.

    SearchPrompt: string

    Placeholder of the search input.

    ShowDropboxAsPopup: boolean

    Opens the options list as a centred popup instead of an anchored dropbox (below PopupDropboxBreakpoint).

    StartingSelection: unknown[]

    Options selected when the dropdown is built (same shape as OptionsList). Source type: DropDownOption[]