You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Ionic tab directive only seems to understand the {{property}} syntax when it comes to using scope properties to set attributes of the tab directive.
While this seems to work just fine it also produces an error message for every attribute this is used on: Object #<Comment> has no method 'setAttribute'
Here's a plunker that reproduces the problem using ng-repeat. The problem also exists without ng-repeat, this example is just closer to my current use case:
TypeError: Object #<Comment> has no method 'setAttribute'
at forEach.attr (http://code.ionicframework.com/nightly/js/angular/angular.js:2462:15)
at Object.JQLite.(anonymous function) [as attr] (http://code.ionicframework.com/nightly/js/angular/angular.js:2569:9)
at Object.Attributes.$set (http://code.ionicframework.com/nightly/js/angular/angular.js:5430:28)
at Object.interpolateFnWatchAction [as fn] (http://code.ionicframework.com/nightly/js/angular/angular.js:6534:28)
at Scope.$digest (http://code.ionicframework.com/nightly/js/angular/angular.js:11802:29)
at Scope.$apply (http://code.ionicframework.com/nightly/js/angular/angular.js:12055:24)
at http://code.ionicframework.com/nightly/js/angular/angular.js:1301:15
at Object.invoke (http://code.ionicframework.com/nightly/js/angular/angular.js:3704:17)
at doBootstrap (http://code.ionicframework.com/nightly/js/angular/angular.js:1299:14)
at bootstrap (http://code.ionicframework.com/nightly/js/angular/angular.js:1313:12)
The text was updated successfully, but these errors were encountered:
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Currently the Ionic tab directive only seems to understand the {{property}} syntax when it comes to using scope properties to set attributes of the tab directive.
While this seems to work just fine it also produces an error message for every attribute this is used on:
Object #<Comment> has no method 'setAttribute'
Here's a plunker that reproduces the problem using ng-repeat. The problem also exists without ng-repeat, this example is just closer to my current use case:
http://plnkr.co/edit/928wciFp8hmRrOTtlEYP?p=preview
(You have to open the console and refresh the page to see the error messages).
Below is a full error message from the console.
The text was updated successfully, but these errors were encountered: