-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possibleIssue will be reviewed by Core Team and a relevant label will be added as soon as possible
Description
Describe the bug
Textarea is incompatable with Angular 21's Signal Forms due to the this.ngControl.valueChanges subscription in Textarea's onInit:
ERROR TypeError: can't access property "subscribe", this.ngControl.valueChanges is undefined
onInit primeng-textarea.mjs:175
ngOnInit primeng-basecomponent.mjs:205
Pull Request Link
No response
Reason for not contributing a PR
- Lack of time
- Unsure how to implement the fix/feature
- Difficulty understanding the codebase
- Other
Other Reason
No response
Reproducer
https://stackblitz.com/edit/github-5aqhxhtg?file=src%2Fapp%2Fapp.component.ts
Environment
N/A
Angular version
21.0.0
PrimeNG version
v20
Node version
22.17.0
Browser(s)
No response
Steps to reproduce the behavior
- Use Angular 21's new Signal Forms
- Use PrimeNG's textarea
- Observe the console error in browser
Expected behavior
Should be compatible
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possibleIssue will be reviewed by Core Team and a relevant label will be added as soon as possible