Skip to content

Filtering criteria from a property in Array of objects #169

@manideep-karnati

Description

@manideep-karnati

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions