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