Skip to content

Commit

Permalink
Merge pull request #13550 from pouyababaie/duplicate-attribute-on-inp…
Browse files Browse the repository at this point in the history
…utnumber-doc

[FIX] removed duplicated "inputId" attribuite.
  • Loading branch information
gucal authored Aug 27, 2023
2 parents 24993b4 + ff8650a commit f3645e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/showcase/doc/inputnumber/numeralsdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { Code } from '../../domain/code';
</div>
<div class="flex-auto">
<label class="mb-2 font-bold block" for="minmax">Min-Max Boundaries</label>
<p-inputNumber [(ngModel)]="value4" inputId="minmax" inputId="minmax" mode="decimal" [min]="0" [max]="100"> </p-inputNumber>
<p-inputNumber [(ngModel)]="value4" inputId="minmax" mode="decimal" [min]="0" [max]="100"> </p-inputNumber>
</div>
</div>
<app-code [code]="code" selector="input-number-numerals-demo"></app-code>
Expand All @@ -46,7 +46,7 @@ export class NumeralsDoc {
<p-inputNumber inputId="integeronly" [(ngModel)]="value1"> </p-inputNumber>
<p-inputNumber [(ngModel)]="value2" mode="decimal" inputId="withoutgrouping" [useGrouping]="false"> </p-inputNumber>
<p-inputNumber [(ngModel)]="value3" inputId="minmaxfraction" mode="decimal" [minFractionDigits]="2" [maxFractionDigits]="5"> </p-inputNumber>
<p-inputNumber [(ngModel)]="value4" inputId="minmax" inputId="minmax" mode="decimal" [min]="0" [max]="100"> </p-inputNumber>
<p-inputNumber [(ngModel)]="value4" inputId="minmax" mode="decimal" [min]="0" [max]="100"> </p-inputNumber>
`,

html: `
Expand All @@ -65,7 +65,7 @@ export class NumeralsDoc {
</div>
<div class="flex-auto">
<label for="minmax">Min-Max Boundaries</label>
<p-inputNumber [(ngModel)]="value4" inputId="minmax" inputId="minmax" mode="decimal" [min]="0" [max]="100"> </p-inputNumber>
<p-inputNumber [(ngModel)]="value4" inputId="minmax" mode="decimal" [min]="0" [max]="100"> </p-inputNumber>
</div>
</div>`,

Expand Down

1 comment on commit f3645e4

@vercel
Copy link

@vercel vercel bot commented on f3645e4 Aug 27, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.