Request

Response

    SelectorDescriptor class

    Provides an implementation of the ISelectorDescriptor interface for creating dropdown/selector input components in custom forms. This descriptor enables users to select from a predefined list of options, supporting both single and multiple selection modes. The selector will render as a dropdown list in the Connector UI.

    public class SelectorDescriptor : BaseInputDescriptor, ISelectorDescriptor
    

    Public Members

    namedescription
    SelectorDescriptor(…) Initializes a new instance of the SelectorDescriptor class.
    Error { get; set; } Gets or sets a value indicating whether the selector is in an error state. When true, the selector will be rendered with error styling to indicate invalid input or validation failure. Defaults to false (no error state).
    HelperText { get; set; } Gets or sets the helper text displayed below the selector component. This text provides additional guidance or information about the selection options. Defaults to an empty string if not specified.
    Multiple { get; set; } Gets or sets a value indicating whether the selector supports multiple selection. When true, users can select multiple options from the dropdown list and selected items will be displayed with tick marks. When false, only single selection is allowed and the selected item will be displayed with bold text. Defaults to false (single selection mode).
    Options { get; set; } Gets or sets the list of available options that users can select from. Each option contains an ID, label, and optional tooltip for display in the dropdown list. Defaults to an empty list if no options are provided.
    Placeholder { get; set; } Gets or sets the placeholder text displayed in the selector when no option is selected. This text provides a hint to the user about what they should select. Defaults to null if not specified.
    Selected { get; set; } Gets or sets the list of currently selected option IDs. These options will be displayed with visual indicators (such as bold text for single selection or tick marks for multiple selection) to show they are selected in the dropdown list. Defaults to an empty list if no options are pre-selected.

    See Also