@oneblink/sdk-core
    Preparing search index...

    Type Alias SelectElement

    SelectElement: FormElementWithOptionsBase & {
        autocompleteAttributes?: string[];
        canToggleAll?: boolean;
        defaultValue?: string | string[];
        multi: boolean;
        type: "select";
    }

    An element to display multiple options to a user and allowing them choose one or multiple based on the value of the multi property.

    The element must have an id property with a value that is globally unique within the form definition.

    Type Declaration

    • OptionalautocompleteAttributes?: string[]

      Custom autocomplete attributes that will be added to the element during rendering

    • OptionalcanToggleAll?: boolean
    • OptionaldefaultValue?: string | string[]

      While this property is called defaultValue, it should actually be called defaultId because it should not be set with a value from one of the options in the options array. It must be set to the id of the option from the options array to be chosen by default.

    • multi: boolean
    • type: "select"