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

chore(typeahead): async loading broken with angular in dev mode #89

Closed
danielgerlag opened this issue Jan 19, 2016 · 3 comments
Closed

Comments

@danielgerlag
Copy link

The Typeahead async example no longer works, unless you put angular in production mode.
You will get "EXCEPTION: Expression has changed after it was checked." errors

angular/angular#6005

@valorkin
Copy link
Member

try to use ChangeDetectionStrategy.OnPush in your component
It should solve the problem
it is not only typeahead problem, so I will have to figure out how to handle it better
current typeahead implementation will be replaced with Observables

@ps2goat
Copy link

ps2goat commented Jan 19, 2016

Do you know what the timeline is for the conversion to Observables?

On Tue, Jan 19, 2016 at 4:32 PM, Dmitriy Shekhovtsov <
notifications@github.com> wrote:

try to use ChangeDetectionStrategy.OnPush in your component
It should solve the problem
it is not only typeahead problem, so I will have to figure out how to
handle it better
current typeahead implementation will be replaced with Observables


Reply to this email directly or view it on GitHub
#89 (comment)
.

@valorkin valorkin changed the title Typeahead async loading broken with angular in dev mode chore(typeahead): async loading broken with angular in dev mode Feb 6, 2016
@Dinistro
Copy link
Contributor

This should be fixed in the Observable version: #584

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

4 participants