Dynamic form : Throwing error i.e. Cannot read property 'appendChild' of undefined

Viewed 70

Kendo + Angular 6

While creating Dynamic form using formBuilder in Angular 6 able to render all HTML elements(like Input , Checkbox, Select, Button). But once try to render Kendo component it is throwing error. enter image description here

`<div 
  class="dynamic-field form-input" 
  [formGroup]="group">
  <label>{{ config.label }}</label>
  <input
    type="text"
    [(ngModel)] = "config.sValue"
    [attr.placeholder]="config.placeholder"
    [formControlName]="config.name" />
</div>
<div class="example-wrapper">
<kendo-autocomplete
    [data]="config.listItems"
    [value]="config.sValue"
    class="countries"
>
</kendo-autocomplete>

`

0 Answers
Related