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

Allow displayKey to be a function #633

Closed
jharding opened this issue Feb 2, 2014 · 2 comments
Closed

Allow displayKey to be a function #633

jharding opened this issue Feb 2, 2014 · 2 comments

Comments

@jharding
Copy link
Contributor

jharding commented Feb 2, 2014

This will provide more flexibility as the display value of a suggestion object can be formed based on multiple properties of the object, not just one.

@jharding jharding added this to the v0.10.1 milestone Feb 5, 2014
@vic
Copy link

vic commented Feb 5, 2014

Yes please 👍

@hoofstephan
Copy link

Many thanks for this update. Very useful, especially when using templates incorporating multiple datum properties. Users expect 'what you see is what you get' behavior. Before this (supplying a function) was possible, I created a workaround by adding an extra property in the JSON source file (concat of some other properties), only to reflect the template output. Now I can remove this overhead.

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

No branches or pull requests

3 participants