Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- application-details.component.html
- <kendo-combobox
- id="creditor"
- name="creditor"
- [data]="loadedCreditors"
- [(ngModel)]="creditor"
- textField="name"
- valueField="id"
- class="form-control form-control-lg">
- </kendo-combobox>
- application-details.component.ts
- export class ApplicationDetailsComponent implements OnInit {
- loadedCreditors: Creditor[] = [];
- ngOnInit() {
- this.fetchDataService.getCreds().subscribe(
- res => {
- this.loadedCreditors = res;
- }
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement