Skip to content

Display only parts of the suggested values #156

Description

@sic2

Hi,

I have the case where there is a set of suggested values. Say:
["value 1", "value 2", "value 3"]
However, I also need to append some id to the values, which I want to keep hidden
[[1, "value 1"], [2, "value 2"], [3, "value 3"]]
The formatting of the JSON above could be different. But while I want visualsearch to display only ["value 1", "value 2", "value 3"], I want to keep the hidden ids for usage in the search function.

Is this possible? Could you suggest me some workaround?

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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