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

feat(typeahead): typeaheadOptionField as method of object #523

Closed
Dinistro opened this issue May 19, 2016 · 0 comments
Closed

feat(typeahead): typeaheadOptionField as method of object #523

Dinistro opened this issue May 19, 2016 · 0 comments

Comments

@Dinistro
Copy link
Contributor

Dinistro commented May 19, 2016

Currently it's not possible to set a field which is a method in the typeaheadOptionField to show the result of this method as option.

For example we have a list of objects of that class:

class Sample {
    id : number;
    localize() {
        return 'something translated';
    }
}

Now i would like to show the value that is returned by the localize function, but use the id as model. For this, we would need something like a typeaheadModelField as Input.

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