Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Error is thrown with the asynchronous usage of typeahead with angular 1.4.0 #1710

Closed
capaj opened this issue May 27, 2015 · 3 comments
Closed

Comments

@capaj
Copy link
Contributor

capaj commented May 27, 2015

Try the asynchronous typeahead with angular 1.4.0 and you should get this error.

Error: [filter:notarray] Expected array but received: {}
http://errors.angularjs.org/1.4.0/filter/notarray?p0=%7B%7D
    at REGEX_STRING_REGEXP (http://localhost:3000/jspm_packages/github/angular/bower-angular@1.4.0/angular.js:71:12)
    at http://localhost:3000/jspm_packages/github/angular/bower-angular@1.4.0/angular.js:18114:31
    at fn (eval at <anonymous> (unknown source), <anonymous>:2:459)
    at Object.$get.$parseOptions.valuesFn (http://localhost:3000/app/components/typeahead/parse-options.js:28:24)
    at Object.fn (http://localhost:3000/app/components/typeahead/typeahead.js:170:23)
    at Scope.$get.Scope.$digest (http://localhost:3000/jspm_packages/github/angular/bower-angular@1.4.0/angular.js:15559:29)
    at Scope.$get.Scope.$apply (http://localhost:3000/jspm_packages/github/angular/bower-angular@1.4.0/angular.js:15827:24)
    at done (http://localhost:3000/jspm_packages/github/angular/bower-angular@1.4.0/angular.js:10266:47)
    at completeRequest (http://localhost:3000/jspm_packages/github/angular/bower-angular@1.4.0/angular.js:10438:7)
    at XMLHttpRequest.requestLoaded (http://localhost:3000/jspm_packages/github/angular/bower-angular@1.4.0/angular.js:10379:9)angular.js:12224 (anonymous function)angular.js:9058 $getangular.js:15577 $get.Scope.$digestangular.js:15827 $get.Scope.$applyangular.js:10266 doneangular.js:10438 completeRequestangular.js:10379 requestLoaded

@capaj
Copy link
Contributor Author

capaj commented May 27, 2015

this is the reason: angular/angular.js#10352

@vmlf01
Copy link
Collaborator

vmlf01 commented May 27, 2015

Duplicate of #1567

@vmlf01 vmlf01 closed this as completed May 27, 2015
@lock
Copy link

lock bot commented Jan 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the outdated label Jan 26, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants