Skip to content

Commit

Permalink
Merge pull request #14203 from cezarcruz/master
Browse files Browse the repository at this point in the history
#14202 - Fixing documentation of inputmask component
  • Loading branch information
mehmetcetin01140 committed Nov 29, 2023
2 parents bf0ba8f + 407c3be commit 80cfde2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/showcase/doc/inputmask/reactiveformsdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ export class ReactiveFormsDoc implements OnInit {
}

code: Code = {
basic: `<p-inputMask mask="99-999999" [(ngModel)]="value" placeholder="99-999999"></p-inputMask>`,
basic: `
<p-inputMask mask="99-999999" formControlName="value" placeholder="99-999999"></p-inputMask>`,

html: `
<div class="card flex justify-content-center">
<p-inputMask mask="99-999999" [(ngModel)]="value" placeholder="99-999999"></p-inputMask>
<p-inputMask mask="99-999999" formControlName="value" placeholder="99-999999"></p-inputMask>
</div>`,

typescript: `
Expand Down

1 comment on commit 80cfde2

@vercel
Copy link

@vercel vercel bot commented on 80cfde2 Nov 29, 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.