Textarea placeholder binding causes exception in IE11
See the following fiddle:
http://jsfiddle.net/provegard/wLBwd/
While the correct placeholder appears, I also get the following stack trace in the console:
Error: Invalid argument.
at interpolateFnWatchAction (http://code.angularjs.org/1.2.1/angular.js:6366:15)
at $digest (http://code.angularjs.org/1.2.1/angular.js:11443:21)
at $apply (http://code.angularjs.org/1.2.1/angular.js:11682:13)
at Anonymous function (http://code.angularjs.org/1.2.1/angular.js:1285:9)
at invoke (http://code.angularjs.org/1.2.1/angular.js:3616:18)
at doBootstrap (http://code.angularjs.org/1.2.1/angular.js:1283:5)
at bootstrap (http://code.angularjs.org/1.2.1/angular.js:1297:5)
at angularInit (http://code.angularjs.org/1.2.1/angular.js:1246:5)
at Anonymous function (http://code.angularjs.org/1.2.1/angular.js:20126:5)
at trigger (http://code.angularjs.org/1.2.1/angular.js:2298:7)
IE version is 11.0.9600.16438
Same thing with the rows binding for the textarea, and yes, IE wasn't giving me ANY clues until I've had to turn on the "break on every exception" mode and stepped through a billion of first-chance exceptions. Angular debug info in the exception also only pointed me to the component, but not to what's wrong with it. Anyway, fixed by changing the binding from [rows]="myRowsField" to [attr.rows]="myRowsField"
@seckardt you make my day. One of my very old project is still based on Angular1, struggling to find solution to this problem. Thanks a lot.
Even if there is an "easy workaround", it would be a lot easier, if the error message would be a bit more helpful. I have a huge project and somewhere there is this double interpolation. How am I supposed to find this?