-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #306 from pandutibil/development
Dependency removed from the filters, no they'll be individual
- Loading branch information
Showing
4 changed files
with
88 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 15 additions & 8 deletions
23
development/ui/front-end/src/app/shared/components/filter-panel/filter-panel.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
<div class="wrapper" *ngIf="filters && filters.length > 0"> | ||
<div class="grid grid-cols-12 filter-panel-wrapper"> | ||
<ng-container *ngFor="let filter of filters; let i = index"> | ||
<div class="filter-wrapper" [ngClass]="colSize"> | ||
<ng-select class="mx-2" dropdownPosition="bottom" placeholder="Select {{filter.name}}" [clearable]="resetOthers" [(ngModel)]="filter.value" (change)="onSelectOption($event, i)"> | ||
<!-- <ng-option disabled="true">Select {{filter.name}}</ng-option> --> | ||
<ng-option *ngFor="let option of filter.options" [value]="option.value">{{ option.label }}</ng-option> | ||
</ng-select> | ||
<div class="grid grid-cols-12 filter-panel-wrapper align-items-center"> | ||
<div class="col-span-full xmd:col-span-full"> | ||
<div class="grid grid-cols-12"> | ||
<ng-container *ngFor="let filter of filters; let i = index"> | ||
<div class="filter-wrapper" [ngClass]="colSize"> | ||
<ng-select class="mx-2" dropdownPosition="bottom" placeholder="Select {{filter.name}}" [clearable]="resetOthers" [(ngModel)]="filter.value" (change)="onSelectOption($event, i)"> | ||
<!-- <ng-option disabled="true">Select {{filter.name}}</ng-option> --> | ||
<ng-option *ngFor="let option of filter.options" [value]="option.value">{{ option.label }}</ng-option> | ||
</ng-select> | ||
</div> | ||
</ng-container> | ||
</div> | ||
</ng-container> | ||
</div> | ||
<!-- <div class="col-span-full xmd:col-span-2 text-right "> | ||
<button mat-raised-button color="primary" (click)="clearFilters()">Clear Filters</button> | ||
</div> --> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters