You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SharePointReady
changed the title
ListView control render function changing array into different properties, please see images.
IViewField's render function changing passed array in items of ListView control into different properties, please see images.
Mar 7, 2024
Category
[ ] Enhancement
[X] Bug
[ ] Question
Version
Please specify what version of the library you are using: [ 3.17.0 ]
Expected / Desired Behavior / Question
If we pass an array in Items property of ListView control, we should get an array in the Render function of IViewFields.
Observed Behavior
Passing any array of strings in the Items property of ListView control.
![image](https://private-user-images.githubusercontent.com/37682980/309185143-9d39dd63-037f-4724-9372-f9ef87c4845c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzk4MzksIm5iZiI6MTczOTM3OTUzOSwicGF0aCI6Ii8zNzY4Mjk4MC8zMDkxODUxNDMtOWQzOWRkNjMtMDM3Zi00NzI0LTkzNzItZjllZjg3YzQ4NDVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE2NTg1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIyMGNkNTE3NjNkYmQ5OTk5MjZjODk2MzE3MGQwNDQyNDM2MmYxZjVkMjQ2OWFjNGJjOGE0NWIxMDU3YzE3YzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.xuaSsRhvPUadSJ3D3ybOiST7Rce0gdcVlji870h0bWI)
The item object we get in the render function of IViewFields.
![image](https://private-user-images.githubusercontent.com/37682980/309185643-4562edb5-c7d5-4551-b1cc-3310fe7d2755.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzk4MzksIm5iZiI6MTczOTM3OTUzOSwicGF0aCI6Ii8zNzY4Mjk4MC8zMDkxODU2NDMtNDU2MmVkYjUtYzdkNS00NTUxLWIxY2MtMzMxMGZlN2QyNzU1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE2NTg1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZhNTdlNWU2YTNmMTdiMDJhNzY4M2JjYzZhYTRlOTdiNDYyZGQzNmJjNDJlMDgwMDcxNmZkOGFjMTFiNzdlOTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.aMoseXnpuhHcol0RL-Kvuu2fF-HgNXdT0ZeaiJHbxUk)
Steps to Reproduce
Provide an array in items property of ListView control. Console log items property of the render function of IViewFields.
Thanks!
The text was updated successfully, but these errors were encountered: