I have an object
export class NameGroup {
nameGroupId: number;
nameGroupString: string;
sequence: number;
creationDate?: Date;
lastModifiedDate?: Date
}
and a component that has
public nameGroups: Array<NameGroup> = [];
public selectedNameGroups: Array<NameGroup> = [];
the component template is as follows:
<kendo-multiselect
#nameGroupList
[data]="nameGroups"
[(ngModel)]="selectedNameGroups"
textField="nameGroupString"
valueField="nameGroupId"
[valuePrimitive]="false"
name="nameGroupList"
></kendo-multiselect>
The object binding is not working. Will not show what values are selected in the input box even though the dropdown has them selected when it opens.
What am I doing wring? I know in previous versions of progress for angular you had to give the dropdown a function that could compare the objects. Is this still true?