Open
Description
Installed product versions
- Visual Studio: 2015 Professional
- Extension: AspNetCoreAngular2
Description
Error: Can't bind to 'ngModel' since it isn't a known property of 'input'.
Steps to recreate
I have the following code in html template:
<input type="text" [(ngModel)] ="data"/>
When rendering the html page, the error was thrown.
Exception: Call to Node module failed with error: Error: Template parse errors:
Can't bind to 'ngModel' since it isn't a known property of 'input'. ("
][(ngModel)] ="data"/>
Current behavior
AspNetCoreAngular2 template doesn't allow to use ngModel directive.
Expected behavior
Using ngModel directive should not throw any error.
Metadata
Metadata
Assignees
Labels
No labels