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
I want to filter based on the department name. Was trying to do by adding the criteria rule like the below
" FJS.addCriteria({field: 'departments[0].name', ele: '#department-filter input:checkbox'}); "
but this isn't creating the filter.
FYI data is like below:
{"departments": [{
"id": 148,
"name": "UX & Product Design ",
"child_ids": [],
"parent_id": null
}]}
Could you please help.
Thankyou
The text was updated successfully, but these errors were encountered:
manideep-karnati
changed the title
Filtering criteria from an property in Array of objects
Filtering criteria from a property in Array of objects
May 8, 2018
I want to filter based on the department name. Was trying to do by adding the criteria rule like the below
" FJS.addCriteria({field: 'departments[0].name', ele: '#department-filter input:checkbox'}); "
but this isn't creating the filter.
FYI data is like below:
{"departments": [{
"id": 148,
"name": "UX & Product Design ",
"child_ids": [],
"parent_id": null
}]}
Could you please help.
Thankyou
The text was updated successfully, but these errors were encountered: