Open urielzen opened 1 week ago
A reactive form wrapped inside a p-card component will disappear when interacting with it.
The same form does not disappears, as expected, when outside a p-card.
Stackblitz
https://stackblitz.com/edit/form-inside-p-card
18.0.1
18.0.0-beta.4
Angular CLI App
TypeScript
18.20.3
Chrome
Run stackblitz and interact with the form https://stackblitz.com/edit/form-inside-p-card
No response
Putting the form outside of "content" ng-template tags solves the problem but I'm not sure why it happens though
Describe the bug
A reactive form wrapped inside a p-card component will disappear when interacting with it.
The same form does not disappears, as expected, when outside a p-card.
Environment
Stackblitz
Reproducer
https://stackblitz.com/edit/form-inside-p-card
Angular version
18.0.1
PrimeNG version
18.0.0-beta.4
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.20.3
Browser(s)
Chrome
Steps to reproduce the behavior
Run stackblitz and interact with the form https://stackblitz.com/edit/form-inside-p-card
Expected behavior
No response