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

    Class AbstractVirtualSelectConfigAbstract

    Class that represents the custom configurations received by the Dropdown.

    Hierarchy (View Summary)

    Index
    ExtendedClass: string

    CSS classes added to the pattern root.

    IsDisabled: boolean

    Renders the dropdown disabled.

    providerExtendedOptions: VirtualSelectOpts
    ElementId: string

    CSS id selector of the element the provider renders into; set by the pattern from its own element.

    NoOptionsText: string

    Message shown when there are no options.

    NoResultsText: string

    Message shown when a search matches no option.

    OptionsList: DropDownOption[]

    Options to render: { value, label, image_url_or_class?, description?, group_name? }.

    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 = false

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

    SearchPrompt: string

    Placeholder of the search input.

    ShowDropboxAsPopup: boolean = true

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

    StartingSelection: DropDownOption[]

    Options selected when the dropdown is built (same shape as OptionsList).

    • Protected

      Method that helps to validate if a given value is within a range of values.

      Parameters

      • value: unknown

        Value received in the configs

      • defaultValue: unknown

        Value used when the given one is missing or invalid

      • ...args: unknown[]

        Allowed values

      Returns unknown

    • Protected

      Method to merge Common, Specific and External configs

      Parameters

      • commonConfigs: any

        Configurations shared by every mode of the provider

      • specificConfigs: any

        Configurations of the current mode

      • OptionalextendedConfigs: any

        Extensibility configurations set by the developer

      Returns any