Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
281 changes: 254 additions & 27 deletions apps/lfx-one/e2e/org-projects.spec.ts

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* Copyright The Linux Foundation and each contributor to LFX. */
/* SPDX-License-Identifier: MIT */

::ng-deep {
.p-multiselect-overlay.org-projects-add-projects-select-panel {
.p-multiselect-list-container {
height: 16rem;
}
}
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@
[showToggleAll]="showToggleAll()"
[appendTo]="appendTo()"
[filter]="filter()"
[filterBy]="filterBy()"
[filterPlaceHolder]="filterPlaceHolder()"
[size]="size()"
[styleClass]="styleClass()"
[panelStyleClass]="panelStyleClass()"
[scrollHeight]="scrollHeight()"
(onFilter)="filterChange.emit($event.filter ?? '')"
class="w-full">
@if (optionSubLabel() || optionImage()) {
<ng-template let-option pTemplate="item">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright The Linux Foundation and each contributor to LFX.
// SPDX-License-Identifier: MIT

import { Component, input } from '@angular/core';
import { Component, input, output } from '@angular/core';
import { FormGroup, ReactiveFormsModule } from '@angular/forms';
import { MultiSelectModule } from 'primeng/multiselect';

Expand All @@ -17,18 +17,17 @@ export class MultiSelectComponent {
public readonly options = input.required<any[]>();
public readonly optionLabel = input<string>('label');
public readonly optionValue = input<string>('value');
// Optional secondary label shown beneath the main label in the dropdown
// list. Selected chips still show only optionLabel. When undefined the
// dropdown renders default p-multiSelect items.
public readonly optionSubLabel = input<string | undefined>(undefined);
// Optional key for a per-option logo/image URL shown before the label in the dropdown list.
// When undefined (and no optionSubLabel) the dropdown renders default p-multiSelect items.
public readonly optionImage = input<string | undefined>(undefined);
public readonly placeholder = input<string>('Select');
public readonly showToggleAll = input<boolean>(true);
public readonly appendTo = input<any>('body');
public readonly filter = input<boolean>(true);
public readonly filterBy = input<string | undefined>(undefined);
public readonly filterPlaceHolder = input<string>('Search');
public readonly size = input<'small' | 'large'>('small');
public readonly styleClass = input<string>('w-full');
public readonly panelStyleClass = input<string | undefined>(undefined);
public readonly scrollHeight = input<string>('14rem');
public readonly filterChange = output<string>();
}
Loading
Loading