Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display only parts of the suggested values #156

Open
sic2 opened this issue Apr 12, 2016 · 0 comments
Open

Display only parts of the suggested values #156

sic2 opened this issue Apr 12, 2016 · 0 comments

Comments

@sic2
Copy link

sic2 commented Apr 12, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant