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

Input text : ng-dirty with reactive forms #15445

Closed
S3BD opened this issue May 3, 2024 · 0 comments
Closed

Input text : ng-dirty with reactive forms #15445

S3BD opened this issue May 3, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@S3BD
Copy link

S3BD commented May 3, 2024

Describe the bug

My primeNG components like "InputText" or "Password" don't have a red border when my FormControl is in error.

When I look in my HTML, there's no "ng-dirty" class, is this normal? I was expecting it to be added automatically when i have an error in my FormControl.

Capture d’écran 2024-05-03 à 11 33 07

If so, how do I get my input with a red border in the event of an error?

Thanks

Environment

Running Angular in local development mode on Brave browser.

Reproducer

No response

Angular version

17.0.0

PrimeNG version

17.14.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.5.1

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@S3BD S3BD added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 3, 2024
@S3BD S3BD closed this as completed May 3, 2024
@S3BD S3BD reopened this May 3, 2024
@S3BD S3BD closed this as completed May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant