Interface IdentitySelectProperties

<svi-identity-select
[model]="selectedIdentities"
[identities]="myIdentitiesList"
[selectionMode]="SelectionMode.UsersAndGroups"
[selfSelectBtn]="true"
[filter]="{ byGroups: ['alpha', 'bravo'] }"
(modelChanged)="onSelectionChange($event)"
></svi-identity-select>
<svi-identity-select
[model]="selectedIdentities"
[ariaLabel]="'Select Users'"
[selectionMode]="SelectionMode.Users"
[selfSelectBtn]="true"
(modelChanged)="onSelectionChange($event)"
></svi-identity-select>
const identitySelect = document.createElement(SVICustomElement.IdentitySelect);
identitySelect.identities = this.myIdentitiesList;
identitySelect.ariaLabel = "My label";
interface IdentitySelectProperties {
    ariaLabel?: string;
    autocomplete?: string;
    filter?: IIdentitySelectFilterOptions;
    id?: string;
    identities?: IIdentityOption[];
    inlineSelectCurrentUserBtn?: boolean;
    inputBlur?: ((event: FocusEvent) => void);
    inputFocus?: ((event: FocusEvent) => void);
    isDisabled?: boolean;
    limitSelectionToMembersOf?: string | ILimitSelectionToConfig;
    model?: any;
    modelChanged?: ((modelValue: any) => void);
    placeholder?: string;
    readOnly?: boolean;
    selectionMode?: SelectionMode;
    selfSelectBtn?: boolean;
    title?: string;
}

Hierarchy (view full)

Properties

ariaLabel?: string

ARIA label for identifying the list.

autocomplete?: string

The filtering options used when the available identities are retrieved from the identities microservice. (default: false)

id?: string
identities?: IIdentityOption[]

The available users and groups to select from. If not provided, the identities are retrieved from the identities microservice.

inlineSelectCurrentUserBtn?: boolean

Determines if the current user button is displayed above or to the left/right of the identity-select control. (default: false)

inputBlur?: ((event: FocusEvent) => void)
inputFocus?: ((event: FocusEvent) => void)
isDisabled?: boolean
limitSelectionToMembersOf?: string | ILimitSelectionToConfig

Only members of the given group will be valid and selectable. If inclusive if true, the group itself is treated as a valid selection.

Accepts the group id as a string, or as part of configuration object.

model?: any
modelChanged?: ((modelValue: any) => void)
placeholder?: string
readOnly?: boolean
selectionMode?: SelectionMode

Does the input allow the selection of only a user, users, a group, groups, or both? (default: SelectionMode.UsersAndGroups)

selfSelectBtn?: boolean

Determines whether the select current user button is displayed. (default: false)

title?: string

Optional title that can be used to override the default dialog title.