[
{
"projectid": 100,
"surveytitle": "Parth Infotech Survey",
"surveydescription": "Health Checkup",
"date": "03/30/2020",
"country": "India",
"latitude": "",
"longitude": "",
"survey expiry date": ""
},
{
"projectid": 101,
"surveytitle": "PnAutomation Survey",
"surveydescription": "Health Checkup",
"date": "03/30/2020",
"country": "US",
"latitude": "",
"longitude": "",
"survey expiry date": ""
},
{
"projectid": 103,
"surveytitle": "Parth Survey",
"surveydescription": "Health Checkup",
"date": "03/30/2020",
"country": "China",
"latitude": "",
"longitude": "",
"survey expiry date": ""
}
]
But i want to bind the unique keys from project.json. So how can i iterate on array of item objects in template. i have used the template field to get the keys from json but not working properly. i have changed in select.edit.data.js
like
template: '<span>{{ Object.keys(item) }}</span>'
pleae provide the solution for me to get unique keys from json and bind to custom select component.