Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
group-selection.component.html 531 B
<span class="add-group-selector">
  <ng-select
    [items]="_nodeGroupsList"
    bindLabel="groupName"
    bindValue="groupName"
    [virtualScroll]="true"
    [placeholder]="getAddGroupLabel()"
    (change)="selectGroup($event)"
    pTooltip="Select all nodes of a group."
    [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-right'"
    tooltipPosition="right"
    [clearable]="false"
  >
    <ng-template ng-option-tmp let-item="item">
      <span>{{ item.groupName }}</span>
    </ng-template>
  </ng-select>
</span>