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.

    public class SelectorDescriptor : BaseInputDescriptor, ISelectorDescriptor
    

    Public Members

    namedescription
    SelectorDescriptor(…) Initializes a new instance of the SelectorDescriptor class.
    Error { get; set; } Gets 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.
    HelperText { get; set; } Gets the helper text displayed below the selector component. This text provides additional guidance or information about the selection options.
    Multiple { get; set; } Gets a value indicating whether the selector supports multiple selection. When true, users can select multiple options from the dropdown list. When false, only single selection is allowed.
    Options { get; set; } Gets 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.
    Placeholder { get; set; } Gets 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.
    Selected { get; set; } Gets the list of currently selected option IDs. These options will be displayed with visual indicators (such as bold text or tick marks) to show they are selected in the dropdown list.

    See Also