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

taResponseTransform Example not attached #15

Open
taniyer opened this issue Mar 18, 2018 · 2 comments
Open

taResponseTransform Example not attached #15

taniyer opened this issue Mar 18, 2018 · 2 comments

Comments

@taniyer
Copy link

taniyer commented Mar 18, 2018

Examples doesn't include the value for taResponsetransform. There are plenty of use cases where the REST API contains the list object on the response as a child attribute

@orizens
Copy link
Owner

orizens commented Apr 20, 2018

taResponseTransform is a function in this form:

function taResponseTransform(item: any) {
   // this should return a singles item of the list to be rendered
  return item;
}

danish-jamil added a commit to danish-jamil/ngx-typeahead that referenced this issue Aug 13, 2018
…f results is an object and associated with a key

Added @input() taEmptyOnSelect to empty the field on result selection
@gndps
Copy link

gndps commented Sep 6, 2018

@orizens Can you please merge this commit by @danish-jamil

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

No branches or pull requests

3 participants