kendo-labs / angular-kendo

A project to create a robust set of Angular.js bindings for Kendo UI widgets
474 stars 209 forks source link

kendo ui - autocomplete (no value accessor error) #412

Closed chriseugenerodriguez closed 7 years ago

chriseugenerodriguez commented 7 years ago

Getting error with kendo autocomplete:

ERROR Error: No value accessor for form control with unspecified name attribute
    at _throwError (forms.es5.js:1830)
    at setUpControl (forms.es5.js:1740)
    at NgModel.webpackJsonp.../../../forms/@angular/forms.es5.js.NgModel._setUpStandalone (forms.es5.js:4305)
    at NgModel.webpackJsonp.../../../forms/@angular/forms.es5.js.NgModel._setUpControl (forms.es5.js:4291)
    at NgModel.webpackJsonp.../../../forms/@angular/forms.es5.js.NgModel.ngOnChanges (forms.es5.js:4222)
    at checkAndUpdateDirectiveInline (core.es5.js:10812)
    at checkAndUpdateNodeInline (core.es5.js:12238)
    at checkAndUpdateNode (core.es5.js:12177)
    at debugCheckAndUpdateNode (core.es5.js:12880)
    at debugCheckDirectivesFn (core.es5.js:12821)

Here is element:

        <kendo-autocomplete 
          class="form-control" 
          [value-primitive]="false"
          [data-text-field]="name"     
          [data]="ExistingSamplePreps"
          [filterable]="true" 
          [(ngModel)]="SearchExistingSamplePreps"
        >
          <ng-template kendoAutoCompleteItemTemplate let-dataItem>
            <div class="kendo-item">
              <span>{{ dataItem.id }}</span> <span>{{ dataItem.name }}</span> <span>{{ dataItem.date }}</span>
            </div>
          </ng-template>
        </kendo-autocomplete>
tsvetomir commented 7 years ago

This repository is for the Angular 1.x integration in Kendo UI for jQuery. Perhaps you've meant to log it in kendo-angular ?