dmp project
This commit is contained in:
parent
fa10c43236
commit
bfcb178c25
|
@ -131,7 +131,7 @@ myFunction() {
|
|||
|
||||
|
||||
SaveNewDmp(){
|
||||
console.log(this.dmp, this.dmp.projectsDropDownKey);
|
||||
console.log(this.dmp, this.dmp.projectsDropDownKey); debugger;
|
||||
//this.http.post('http://someurl', JSON.stringify(this.project))
|
||||
this.serverService.createDmpForProject(this.dmp)
|
||||
.subscribe(
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
<form #newProjectForm="ngForm" (ngSubmit)="SaveNewDmp()">
|
||||
<div class="form-group">
|
||||
<label for="recipient-name" class="col-form-label">Project:</label>
|
||||
<select class="form-control" [id]="projectsDropDownKey" [(ngModel)]="dmp.id" [name]="projectsDropDown" #datasetfield>
|
||||
<select class="form-control" [id]="projectsDropDownKey" [(ngModel)]="dmp.project" [name]="projectsDropDown" #datasetfield>
|
||||
<option *ngFor="let opt of projectsDropDown.options" [value]="opt.key">{{opt.value}}</option>
|
||||
</select>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue