aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui
diff options
context:
space:
mode:
authorEzhilarasi <ezhrajam@in.ibm.com>2019-07-15 20:33:51 +0530
committerEzhilarasi <ezhrajam@in.ibm.com>2019-07-15 20:33:58 +0530
commit6804ff3fae8b92a3bb30ee0082b7103eebf0692c (patch)
tree41034dccd5c075fa9cde9d99befa081b01c52ed8 /cds-ui
parent7d58591a2dd41b9e2655f5d06a1eb344146d8e76 (diff)
Fixed Search CBA edit component issue
Change-Id: If0d6bff1da8b85e86e97c2a53059d06329b4b560 Issue-id: CCSDK-1279 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Diffstat (limited to 'cds-ui')
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/blueprint.module.ts9
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/search-edit-cba/search-edit-cba.component.ts2
2 files changed, 8 insertions, 3 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/blueprint.module.ts b/cds-ui/client/src/app/feature-modules/blueprint/blueprint.module.ts
index ae4df4ccf..4d0781aec 100644
--- a/cds-ui/client/src/app/feature-modules/blueprint/blueprint.module.ts
+++ b/cds-ui/client/src/app/feature-modules/blueprint/blueprint.module.ts
@@ -32,10 +32,15 @@ import { DeployTemplateModule } from './deploy-template/deploy-template.module';
import { TestTemplateModule } from './test-template/test-template.module';
import { SearchEditCBAComponent } from './search-edit-cba/search-edit-cba.component';
import { AppMaterialModule } from '../../../app/common/modules/app-material.module';
+import { ReactiveFormsModule } from '@angular/forms';
@NgModule({
declarations: [
- BlueprintComponent
+ BlueprintComponent,
+ SearchEditCBAComponent
+ ],
+ exports:[
+ SearchEditCBAComponent
],
imports: [
CommonModule,
@@ -46,7 +51,7 @@ import { AppMaterialModule } from '../../../app/common/modules/app-material.modu
ModifyTemplateModule,
DeployTemplateModule,
TestTemplateModule,
- SearchEditCBAComponent
+ ReactiveFormsModule
]
})
export class BlueprintModule { }
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/search-edit-cba/search-edit-cba.component.ts b/cds-ui/client/src/app/feature-modules/blueprint/search-edit-cba/search-edit-cba.component.ts
index 14a79e0f1..4253e2172 100644
--- a/cds-ui/client/src/app/feature-modules/blueprint/search-edit-cba/search-edit-cba.component.ts
+++ b/cds-ui/client/src/app/feature-modules/blueprint/search-edit-cba/search-edit-cba.component.ts
@@ -21,7 +21,7 @@
*/
import { Component, OnInit, ViewChild, EventEmitter, Output } from '@angular/core';
-import {FormBuilder, FormGroup, Validators} from '@angular/forms';
+import {FormBuilder, FormGroup, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MatAutocompleteTrigger } from '@angular/material'
@Component({