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

Typeahead remote source error with angular 1.4 & angular-strap 2.2.1 #1684

Closed
cyp3rius opened this issue May 11, 2015 · 4 comments
Closed

Typeahead remote source error with angular 1.4 & angular-strap 2.2.1 #1684

cyp3rius opened this issue May 11, 2015 · 4 comments

Comments

@cyp3rius
Copy link

I saw reported bug about Angular 1.4 support #1659 and TypeError: options.domOperation is not a function issue. I've got it with all my Typeaheads calling for remote sources and also after each response I've got:

"Error: [filter:notarray] http://errors.angularjs.org/1.4.0-rc.1/filter/notarray?p0=%7B%22%24%24state%22%3A%7B%22status%22%3A1%2C%22value%22%3A%5B%7B%22id%22%3A1%2C%22name%22%3A%22Krzysztof%20Kowalski%22%7D%2C%7B%22id%22%3A2%2C%22name%22%3A%22Grzegorz%20Sosna%22%7D%5D%7D%7D
G/<@http://localhost:9000/assets/lib/angularjs/angular.min.js:6:421
Uf/<@http://localhost:9000/assets/lib/angularjs/angular.min.js:148:189
anonymous/fn@http://localhost:9000/assets/lib/angularjs/angular.min.js line 208 > Function:2:304
ParseOptionsFactory/$parseOptions.valuesFn@http://localhost:9000/assets/lib/angular-strap/angular-strap.js:2354:26
postLink/<@http://localhost:9000/assets/lib/angular-strap/angular-strap.js:4462:11
cf/this.$get</m.prototype.$digest@http://localhost:9000/assets/lib/angularjs/angular.min.js:129:481
cf/this.$get</m.prototype.$apply@http://localhost:9000/assets/lib/angularjs/angular.min.js:132:497
rg</this.$$debounceViewValueCommit@http://localhost:9000/assets/lib/angularjs/angular.min.js:260:210
rg</this.$setViewValue@http://localhost:9000/assets/lib/angularjs/angular.min.js:259:460
gb/l@http://localhost:9000/assets/lib/angularjs/angular.min.js:162:1
m.event.dispatch@http://localhost:9000/assets/lib/jquery/jquery.min.js:3:8497
m.event.add/r.handle@http://localhost:9000/assets/lib/jquery/jquery.min.js:3:5235
" angular.min.js:106:324

Results returned by .then(...) is in 100% Arrays (works on production app with angular 1.3.15 and angular strap 2.1.2). Now I've updated angular to 1.4 rc1 and angular-strap to 2.2.1.

@gitawego
Copy link

I get this error as well with v2.2.3 for directive bs-select in angular 1.4

Uncaught TypeError: options.domOperation is not a function
close 
@ angular-animate.js:2803(anonymous function) 
@ angular-animate.js:2627(anonymous function) 
@ angular-animate.js:2515forEach 
@ angular.js:336AnimateRunner._resolve 
@ angular-animate.js:2514(anonymous function) 
@ angular-animate.js:2507$$rAFMutexFactory 
@ angular-animate.js:2383AnimateRunner.complete 
@ angular-animate.js:2506close 
@ angular-animate.js:1026onAnimationProgress 
@ angular-animate.js:1221jQuery.event.dispatch 

@capaj
Copy link
Contributor

capaj commented May 27, 2015

fix for filter:notaray is here: #1711

@vmlf01
Copy link
Collaborator

vmlf01 commented May 28, 2015

Duplicate #1567 and #1659

@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

4 participants