IE11 - Error in ./MdInput class MdInput - inline template:0:846 caused by: Invalid argument.
I am getting below error with rel11 on IE11. This works fine on Chrome 54.
Error: Uncaught (in promise): Error: Error in ./MdInput class MdInput - inline template:0:846 caused by: Invalid argument. Error: Error in ./MdInput class MdInput - inline template:0:846 caused by: Invalid argument. at DebugAppView.prototype._rethrowWithContext (eval code:9465:21) at DebugAppView.prototype.detectChanges (eval code:9451:17) at ViewContainer.prototype.detectChangesInNestedViews (eval code:9520:21) at View_MdInput0.prototype.detectChangesInternal (Function code:169:3) at AppView.prototype.detectChanges (eval code:9355:13) at DebugAppView.prototype.detectChanges (eval code:9448:17) at View_MlsComponent0.prototype.detectChangesInternal (Function code:1734:3) at AppView.prototype.detectChanges (eval code:9355:13) at DebugAppView.prototype.detectChanges (eval code:9448:17) at View_MlsComponent_Host0.prototype.detectChangesInternal (Function code:27:3) { [functions]: , proto: { }, description: "Uncaught (in promise): Error: Error in ./MdInput class MdInput - inline template:0:846 caused by: Invalid argument. Error: Error in ./MdInput class MdInput - inline template:0:846 caused by: Invalid argument. at DebugAppView.prototype._rethrowWithContext (eval code:9465:21) at DebugAppView.prototype.detectChanges (eval code:9451:17) at ViewContainer.prototype.detectChangesInNestedViews (eval code:9520:21) at View_MdInput0.prototype.detectChangesInternal (Function code:169:3) at AppView.prototype.detectChanges (eval code:9355:13) at DebugAppView.prototype.detectChanges (eval code:9448:17) at View_MlsComponent0.prototype.detectChangesInternal (Function code:1734:3) at AppView.prototype.detectChanges (eval code:9355:13) at DebugAppView.prototype.detectChanges (eval code:9448:17) at View_MlsComponent_Host0.prototype.detectChangesInternal (Function code:27:3)", message: "Uncaught (in promise): Error: Error in ./MdInput class MdInput - inline template:0:846 caused by: Invalid argument. Error: Error in ./MdInput class MdInput - inline template:0:846 caused by: Invalid argument. at DebugAppView.prototype._rethrowWithContext (eval code:9465:21) at DebugAppView.prototype.detectChanges (eval code:9451:17) at ViewContainer.prototype.detectChangesInNestedViews (eval code:9520:21) at View_MdInput0.prototype.detectChangesInternal (Function code:169:3) at AppView.prototype.detectChanges (eval code:9355:13) at DebugAppView.prototype.detectChanges (eval code:9448:17) at View_MlsComponent0.prototype.detectChangesInternal (Function code:1734:3) at AppView.prototype.detectChanges (eval code:9355:13) at DebugAppView.prototype.detectChanges (eval code:9448:17) at View_MlsComponent_Host0.prototype.detectChangesInternal (Function code:27:3)", name: "Error", promise: { }, rejection: { }, stack: "Error: Uncaught (in promise): Error: Error in ./MdInput class MdInput - inline template:0:846 caused by: Invalid argument. Error: Error in ./MdInput class MdInput - inline template:0:846 caused by: Invalid argument. at DebugAppView.prototype._rethrowWithContext (eval code:9465:21) at DebugAppView.prototype.detectChanges (eval code:9451:17) at ViewContainer.prototype.detectChangesInNestedViews (eval code:9520:21) at View_MdInput0.prototype.detectChangesInternal (Function code:169:3) at AppView.prototype.detectChanges (eval code:9355:13) at DebugAppView.prototype.detectChanges (eval code:9448:17) at View_MlsComponent0.prototype.detectChangesInternal (Function code:1734:3) at AppView.prototype.detectChanges (eval code:9355:13) at DebugAppView.prototype.detectChanges (eval code:9448:17) at View_MlsComponent_Host0.prototype.detectChangesInternal (Function code:27:3) at l (http://localhost/vendor/zone.js/dist/zone.min.js?version=3064fd0e71585166bccc703c33ba93ee:1:9608) at l (http", Symbol(rxSubscriber)_m.f9cwm0cqdzw: undefined, task: { }, zone: { } }
"@angular/common": "2.2.4", "@angular/compiler": "2.2.4", "@angular/core": "2.2.4", "@angular/forms": "2.2.4", "@angular/http": "2.2.4", "@angular/material": "^2.0.0-alpha.11-3", "@angular/platform-browser": "2.2.4", "@angular/platform-browser-dynamic": "2.2.4",
Let me know anything else is needed. Any ideas how to fix it?
Thanks, Manish
Can you post your HTML @ManishJainGitHubUser? Otherwise there's not way to find out what's wrong.
@crisbeto I had this same error in IE when using type=date. Works in Chrome.
Thanks @starksds, I managed to reproduce it. I'll see what I can do.
This error seems to be only if you're using the md-input component, which is now deprecated. If you update to the latest Material version, you can use md-input-container which shouldn't throw.
@crisbeto this is still broken in I.E. 11
Are you using the md-input-container @starksds?
@crisbeto yes
@crisbeto ok, turns out we were still using md-input. sorry for the false alarm!
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.