Skip to content

Commit

Permalink
Merge pull request #12294 from primefaces/issue-12227
Browse files Browse the repository at this point in the history
Fixed #12227 - Refactor demo
  • Loading branch information
cetincakiroglu committed Nov 28, 2022
2 parents edd93f0 + 3fce8d0 commit 6e6b55d
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 6e6b55d

Please sign in to comment.