instance-oom / ngx-markdown-editor

Angular markdown editor based on ace editor
http://lon-yang.github.io/markdown-editor/
Apache License 2.0
174 stars 48 forks source link

No value accessor for form control with name: 'description' #76

Closed majkelllo closed 4 years ago

majkelllo commented 4 years ago

Hi,

I'm trying to use the component inside reactive form. I have set-up component exactly as per guide but it doesn't appear at all and i see below error in browser console:

No value accessor for form control with name: 'description'

If i remove "formControlName" attribute from md-editor component it doesn't error but still doesn't render.

I'm using Angular 9.0.6

instance-oom commented 4 years ago

https://stackblitz.com/edit/angular-ivy-poqb1g

There is no error. Please give me some detail code for this issue.

majkelllo commented 4 years ago

You can close this issue. It was my mistake. I have added markdown to wrong module. After adding to correct one it works like a charm :) Sorry about that!