Skip to content
This repository was archived by the owner on Aug 24, 2017. It is now read-only.
This repository was archived by the owner on Aug 24, 2017. It is now read-only.

typeaheadOpts.filter implementation - custom filter #47

@Darmikon

Description

@Darmikon
baz = [
  {value: 'baz', name: 'derp', id:22, age:23, job:'js developer'},
  {value: 'baz', name: 'herp', id:23, age:24, job:'angular developer'},
] 

I have a lot of properties in each object of my source array. However, when I start typing I want angular's filter to check only fields with custom names. As to my example, I want to make search in 'value' and 'name', but I don't want to search in 'id', 'age' and 'job'. I haven't found any example of implementation such functionality in your docs. Please, give me some example, how to implement this functionality in your module. Thank you very much for your work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions