Skip to content

Support sub objects search or displayFn search #297

Open
@SDAdham

Description

@SDAdham

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I have an object that does not have strings, however those objects contain subobjects that contain the strings that I want to apply the search on.

i.e:

{
   id: "123",
   orders: [{ name: "Potato" }],
   user: {
      name: "UserBuddy"
   }
}

Objects like the one above always return empty list

I can have a displayFn that would be returning "UserBuddy Potato" where we could maybe filter by displayed values

Describe the solution you'd like

A clear and concise description of what you want to happen.

  • a flag to support displayFn search or deep object search, or;
  • allow displayed strings to be used for filter
  • a flag to disable built-in search functionality and rely on the filtered input data already that gone into the options already but allow search input to be there

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

searchKey is not enough cuz it limits to 1 key

Additional context

Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeature-requestNew feature or functionality request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions