From 6dfefdd2ed186e4c8aec3ce4bf29d01d1b4f09fc Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Wed, 27 Mar 2019 20:13:32 +0530 Subject: [PATCH] fixes : ps --- .../forms/address/address.component.html | 8 ++++---- .../forms/address/address.component.ts | 20 +++++++++++++++---- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.html index c6599720c..05038c8b3 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.html @@ -106,12 +106,12 @@ - + - + !-- MixUse + Required -- + --> diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.ts index 9815d902d..f99347e31 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.ts @@ -126,11 +126,14 @@ export class AddressComponent implements OnInit { 'address_type_others': datas.address_type_others, 'state': datas.state, 'city': datas.city, + 'citySearch':'', + 'stateSearch':'', + 'pinSearch':'', 'pincode': datas.pincode, 'pincode_others': datas.pincode_others, 'locality': datas.locality, 'locality_others': datas.locality_others, - 'locality_mixuse': datas.locality_mixuse, + // 'locality_mixuse': datas.locality_mixuse, 'pd_location': datas.pd_location, 'comment_locality': datas.comment_locality, 'estimated_area': datas.estimated_area, @@ -226,11 +229,14 @@ export class AddressComponent implements OnInit { 'address_type_others': '', 'state': val.fk_state, 'city': val.fk_city, + 'citySearch':'', + 'stateSearch':'', + 'pinSearch':'', 'pincode': val.pincode_id, 'pincode_others': val.other_pincode, 'locality': '', 'locality_others': '', - 'locality_mixuse': '', + // 'locality_mixuse': '', 'pd_location': '', 'comment_locality': '', 'estimated_area': '', @@ -291,11 +297,14 @@ export class AddressComponent implements OnInit { address_type_others: [AddressDetails.address_type_others], state: [AddressDetails.state], city: [AddressDetails.city], + citySearch:[''], + stateSearch:[''], + pinSearch:[''], pincode: [AddressDetails.pincode],/** ,Validators.compose([Validators.minLength(6),Validators.maxLength(6)]) */ pincode_others: [AddressDetails.pincode_others, Validators.compose([Validators.minLength(6), Validators.maxLength(6)])], locality: [AddressDetails.locality, Validators.compose([Validators.required])], locality_others: [AddressDetails.locality_others], - locality_mixuse: [AddressDetails.locality_mixuse], + // locality_mixuse: [AddressDetails.locality_mixuse], pd_location: [AddressDetails.pd_location, Validators.compose([Validators.required])], comment_locality: [AddressDetails.comment_locality, Validators.compose([Validators.required])], estimated_area: [AddressDetails.estimated_area], @@ -311,11 +320,14 @@ export class AddressComponent implements OnInit { address_type_others: [''], state: [''], city: [''], + citySearch:[''], + stateSearch:[''], + pinSearch:[''], pincode: [''], pincode_others: ['', Validators.compose([Validators.minLength(6), Validators.maxLength(6)])], locality: ['', Validators.compose([Validators.required])], locality_others: [''], - locality_mixuse: [''], + // locality_mixuse: [''], pd_location: ['', Validators.compose([Validators.required])], comment_locality: ['', Validators.compose([Validators.required])], estimated_area: [''],