Remove placeholder

This commit is contained in:
Çetin 2023-01-23 14:32:03 +03:00
parent 3df543d705
commit d3534d26eb

View File

@ -96,7 +96,7 @@
<div class="field"> <div class="field">
<label for="status">Inventory Status</label> <label for="status">Inventory Status</label>
<p-dropdown id="status" [options]="statuses" optionLabel="label" [(ngModel)]="product.inventoryStatus" placeholder="Select a Status"> <p-dropdown id="status" [options]="statuses" optionLabel="label" [(ngModel)]="product.inventoryStatus">
<ng-template pTemplate="selectedItem"> <ng-template pTemplate="selectedItem">
<span *ngIf="product && product.inventoryStatus" [class]="'product-badge status-' + product.inventoryStatus.value.toLowerCase()">{{product.inventoryStatus.value}}</span> <span *ngIf="product && product.inventoryStatus" [class]="'product-badge status-' + product.inventoryStatus.value.toLowerCase()">{{product.inventoryStatus.value}}</span>
</ng-template> </ng-template>