Skip to content

Commit

Permalink
Merge pull request #14180 from SweetpopcornSimon/fix-rating-cance-tem…
Browse files Browse the repository at this point in the history
…plate

Fix Rating Component Doc Typo
  • Loading branch information
cetincakiroglu authored Dec 6, 2023
2 parents c335de9 + 01ece7d commit ae3b7ff
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/app/showcase/doc/rating/templatedoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Code } from '../../domain/code';
</app-docsectiontext>
<div class="card flex justify-content-center">
<p-rating [(ngModel)]="value" stars="5">
<ng-template pTemplate="cancel">
<ng-template pTemplate="cancelicon">
<img src="https://primefaces.org/cdn/primeng/images/demo/rating/cancel.png" width="25px" height="25px" />
</ng-template>
<ng-template pTemplate="onicon">
Expand All @@ -25,10 +25,8 @@ import { Code } from '../../domain/code';
})
export class TemplateDoc {
value!: number;

code: Code = {
basic: `<p-rating [(ngModel)]="value" stars="5">
<ng-template pTemplate="cancel">
<ng-template pTemplate="cancelicon">
<img src="https://primefaces.org/cdn/primeng/images/demo/rating/cancel.png" width="25px" height="25px" />
</ng-template>
<ng-template pTemplate="onicon">
Expand All @@ -42,7 +40,7 @@ export class TemplateDoc {
html: `
<div class="card flex justify-content-center">
<p-rating [(ngModel)]="value" stars="5">
<ng-template pTemplate="cancel">
<ng-template pTemplate="cancelicon">
<img src="https://primefaces.org/cdn/primeng/images/demo/rating/cancel.png" width="25px" height="25px" />
</ng-template>
<ng-template pTemplate="onicon">
Expand Down

1 comment on commit ae3b7ff

@vercel
Copy link

@vercel vercel bot commented on ae3b7ff Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

The value for maxDuration must be between 1 second and 10 seconds, in order to increase this limit upgrade your plan: https://vercel.com/pricing

Please sign in to comment.