Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs/Demo: inputmaks component reactive form wrong #14202

Closed
cezarcruz opened this issue Nov 24, 2023 · 0 comments
Closed

Docs/Demo: inputmaks component reactive form wrong #14202

cezarcruz opened this issue Nov 24, 2023 · 0 comments
Assignees
Labels
Component: Documentation Issue or pull request is related to Documentation

Comments

@cezarcruz
Copy link
Contributor

Describe the bug

The documentation for the inputmax reactive form exemple shows a wrong example:
https://primeng.org/inputmask#reactive-forms

should be changed from:

<p-inputMask mask="99-999999" [(ngModel)]="value" placeholder="99-999999"></p-inputMask>

to:

<p-inputMask mask="99-999999" formControlName="value" placeholder="99-999999"></p-inputMask>`

Environment

https://stackblitz.com/edit/2m3zix?file=src%2Fapp%2Fdemo%2Finput-mask-reactive-forms-demo.html

Reproducer

https://stackblitz.com/edit/8my3nm?file=package.json

Angular version

17.0.0

PrimeNG version

17.0.0-beta-1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.9.0

Browser(s)

No response

Steps to reproduce the behavior

Go to documentation:

https://primeng.org/inputmask#reactive-forms

Expected behavior

No response

@cezarcruz cezarcruz added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 24, 2023
@cetincakiroglu cetincakiroglu added Component: Documentation Issue or pull request is related to Documentation and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 25, 2023
mehmetcetin01140 added a commit that referenced this issue Nov 29, 2023
#14202 - Fixing documentation of inputmask component
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Documentation Issue or pull request is related to Documentation
Projects
None yet
Development

No branches or pull requests

3 participants