Skip to content

Commit

Permalink
Fixed #12227 - Refactor demo
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Nov 28, 2022
1 parent edd93f0 commit 3fce8d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/showcase/components/table/tablecruddemo.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h5 class="m-0">Manage Products</h5>

<div class="field">
<label for="inventoryStatus">Inventory Status</label>
<p-dropdown [(ngModel)]="product.inventoryStatus" inputId="inventoryStatus" [options]="statuses" placeholder="Select">
<p-dropdown [(ngModel)]="product.inventoryStatus" inputId="inventoryStatus" optionValue="label" [options]="statuses" placeholder="Select">
<ng-template let-option pTemplate="item">
<span [class]="'product-badge status-' + option.value">{{option.label}}</span>
</ng-template>
Expand Down

0 comments on commit 3fce8d0

Please sign in to comment.