Ledzz / angular2-tinymce

Angular 2 component for TinyMCE MCE WYSIWYG editor
https://angular2-tinymce.surge.sh
66 stars 37 forks source link

No value accessor for form control with unspecified name attribute #43

Open NickyFinger opened 6 years ago

NickyFinger commented 6 years ago

Anyone know why I am getting this error:

"No value accessor for form control with unspecified name attribute"

from this stmt:

<app-tinymce [(ngModel)]='editModel.value'>

Romgua commented 6 years ago

You need to specify a name tag with angular2+ like that : <app-tinymce name="myName" [(ngModel)]='editModel.value'>