DataView component CANNOT find any results from @Input data passed from parent component #14106
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
I'm trying to pass data from the parent component to a child that contains a DataView. Unfortunately, the DataView showing the "No results found" message and cannot render passed data under no circumstances.
Environment
Windows 10
Reproducer
https://stackblitz.com/edit/angular-pa3wff?file=demo%2Fsecond%2Fsecond.component.html
Angular version
16.2.0
PrimeNG version
16.1.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
17.4.0
Browser(s)
Chrome
Steps to reproduce the behavior
<p-dataView [value]="your array of object">
https://stackblitz.com/edit/angular-pa3wff?file=demo%2Fsecond%2Fsecond.component.html
Here you can see that the first component passes the data Array to its child, but DataView doesn't render it
Expected behavior
<p-dataView>
component renders all the necessary data from@Input()
decorator, like<p-table>
doesThe text was updated successfully, but these errors were encountered: