minor change

This commit is contained in:
Nikolaos Laskaris 2017-11-08 16:10:53 +02:00
parent 000e1d53a8
commit 88327290a4
2 changed files with 9 additions and 4 deletions

View File

@ -66,9 +66,13 @@
<!-- <!--
--> -->
<!-- <autocomplete-remote [label]="'Please select a datarepo'" [url]="'https://eestore.paas2.uninett.no/api/datarepo/'" ></autocomplete-remote>
<autocomplete-remote [id]="'test-autocomplete'" [label]="'Please select smth'" [url]="'https://eestore.paas2.uninett.no/api/datarepo/'" ></autocomplete-remote> <autocomplete-remote [label]="'Please select a projectrepo'" [url]="'https://eestore.paas2.uninett.no/api/projectrepo/'" ></autocomplete-remote>
--> <autocomplete-remote [label]="'Please select an organizationrepo'" [url]="'https://eestore.paas2.uninett.no/api/organizationrepo/'" ></autocomplete-remote>
</div> <autocomplete-remote [label]="'Please select a personrepo'" [url]="'https://eestore.paas2.uninett.no/api/personrepo/'" ></autocomplete-remote>
</div>
</div> </div>

View File

@ -21,6 +21,7 @@ export class AutocompleteRemoteComponent implements OnInit {
@Input() id : string; @Input() id : string;
@Input() label : string; @Input() label : string;
@Input() url : string; @Input() url : string;
@Input() formControlName : string;
selectedValue : string; selectedValue : string;
//@Output() selectedValueEmitter: EventEmitter<string> = new EventEmitter<string>(); //@Output() selectedValueEmitter: EventEmitter<string> = new EventEmitter<string>();