Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

NgModel isn't a known property of ng2-summernote #10

Open
jsmelcher opened this issue Jul 5, 2017 · 0 comments
Open

NgModel isn't a known property of ng2-summernote #10

jsmelcher opened this issue Jul 5, 2017 · 0 comments

Comments

@jsmelcher
Copy link

jsmelcher commented Jul 5, 2017

I have copied the code from the Read.Me/samples. And have ran into issues other people have presented. My module doesn't seem to enjoy ngModel parameter. But if I omit it, it won't show up with this issue #8. I may be doing something stupid but I don't think I am? The error message is found below.

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 'ng2-summernote'.

  1. If 'ng2-summernote' is an Angular component and it has 'ngModel' input, then verify that it is part of this module.
  2. If 'ng2-summernote' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
  3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("
][(ngModel)]="data" height="500" >

Update on versions:
npm: 5.0.4
@ angular/cli: 1.0.6
node: 6.10.3
os: win32 x64
@ angular/animations: 4.1.
@ angular/common: 4.1.2
@ angular/compiler: 4.1.2
@ angular/core: 4.1.2
@ angular/forms: 4.1.2
@ angular/http: 4.1.2
@ angular/platform-browser
@ angular/platform-browser
@ angular/platform-server:
@ angular/router: 4.1.2

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant