Browse Source

chore: hide parent div instead of select

pull/5472/head
mehmet-erim 6 years ago
parent
commit
f5fea3eb85
  1. 16
      npm/ng-packs/packages/feature-management/src/lib/components/feature-management/feature-management.component.html

16
npm/ng-packs/packages/feature-management/src/lib/components/feature-management/feature-management.component.html

@ -61,9 +61,9 @@
</div> </div>
</div> </div>
<div *ngSwitchCase="valueTypes.SelectionStringValueType"> <div *ngSwitchCase="valueTypes.SelectionStringValueType">
<div class="form-group mb-0"> <ng-container *ngIf="feature.valueType.itemSource?.items?.length">
<label [htmlFor]="feature.name">{{ feature.displayName }}</label> <div class="form-group mb-0">
<ng-container *ngIf="feature.valueType.itemSource?.items?.length"> <label [htmlFor]="feature.name">{{ feature.displayName }}</label>
<select class="form-control" [id]="feature.name" [(ngModel)]="feature.value"> <select class="form-control" [id]="feature.name" [(ngModel)]="feature.value">
<option <option
*ngFor=" *ngFor="
@ -78,11 +78,11 @@
}}</option }}</option
> >
</select> </select>
</ng-container> <ng-container
<ng-container *ngTemplateOutlet="descTmp; context: { $implicit: feature.description }"
*ngTemplateOutlet="descTmp; context: { $implicit: feature.description }" ></ng-container>
></ng-container> </div>
</div> </ng-container>
</div> </div>
<div *ngSwitchDefault>{{ feature.displayName }}</div> <div *ngSwitchDefault>{{ feature.displayName }}</div>
</div> </div>

Loading…
Cancel
Save