diff options
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts b/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts index 32dc3807d..bb8ceea51 100644 --- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts +++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.ts @@ -30,10 +30,10 @@ import { Store } from '@ngrx/store'; export class ResourceCreationComponent implements OnInit { myFile: File; /* property of File type */ - + selectedValue: any; constructor() { } - + ngOnInit() { } @@ -41,8 +41,13 @@ export class ResourceCreationComponent implements OnInit { console.log(files); this.myFile = files[0].nativeElement; } - upload(){ } + + selectedOption(value){ + this.selectedValue=value; + console.log(this.selectedValue); +} + } |