diff --git a/src/pages/pd-question/pd-question-address/pd-question-address.html b/src/pages/pd-question/pd-question-address/pd-question-address.html
index 9a3492be..95bca097 100755
--- a/src/pages/pd-question/pd-question-address/pd-question-address.html
+++ b/src/pages/pd-question/pd-question-address/pd-question-address.html
@@ -20,7 +20,14 @@
-
+
+
+
+
@@ -101,18 +108,15 @@
-
-
-
+
-
diff --git a/src/pages/pd-question/pd-question-address/pd-question-address.scss b/src/pages/pd-question/pd-question-address/pd-question-address.scss
index a88f783e..a512fad6 100755
--- a/src/pages/pd-question/pd-question-address/pd-question-address.scss
+++ b/src/pages/pd-question/pd-question-address/pd-question-address.scss
@@ -11,4 +11,7 @@ page-pd-question-address {
.mat-card-content{
margin-bottom: 0px !important;
}
+ textarea {
+ resize: none;
+ }
}
diff --git a/src/pages/pd-question/pd-question-address/pd-question-address.ts b/src/pages/pd-question/pd-question-address/pd-question-address.ts
index f41330e8..b29749af 100755
--- a/src/pages/pd-question/pd-question-address/pd-question-address.ts
+++ b/src/pages/pd-question/pd-question-address/pd-question-address.ts
@@ -210,7 +210,18 @@ export class PdQuestionAddressPage {
)
}
-
+countRowsForTextarea(text){
+
+ // console.log('text.length%100',text.length%190);
+ // console.log('text.length/100',text.length/100);
+ if(text.length%100 > 5)
+ return 5;
+ else if(text.length%100 <= 3)
+ return 3;
+ else return Math.floor(text.length%100);
+
+ }
+
ionViewWillLeave()
{
@@ -431,7 +442,7 @@ export class PdQuestionAddressPage {
console.log("pin init", this.pincodeValue[0])
if(AddressDetails != null){
return this.fb.group({
- address: [AddressDetails.address, Validators.compose([Validators.required])],
+ address: [AddressDetails.address + 'qqqqqqqqqqqqqqqqqqqqqqqqqqqq wwwwwwwwwwwwwwwwwwwe eeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrr', Validators.compose([Validators.required])],
address_type: [AddressDetails.address_type, Validators.compose([Validators.required])],
address_type_others: [AddressDetails.address_type_others],
state: [AddressDetails.state],
@@ -443,7 +454,7 @@ export class PdQuestionAddressPage {
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],
@@ -465,7 +476,7 @@ export class PdQuestionAddressPage {
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: [''],
@@ -619,7 +630,7 @@ export class PdQuestionAddressPage {
'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,
@@ -763,7 +774,7 @@ export class PdQuestionAddressPage {
'pincode_others': datas.other_pincode,
'locality': '',
'locality_others': '',
- 'locality_mixuse':'',
+ // 'locality_mixuse':'',
'pd_location': '',
'comment_locality': '',
'estimated_area': '',
diff --git a/src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.html b/src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.html
index 9be19ab8..9f637268 100755
--- a/src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.html
+++ b/src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.html
@@ -45,7 +45,7 @@
-
+
@@ -74,8 +74,8 @@
PURCHASE
-
-
+
@@ -104,8 +104,8 @@
HOUSE HOLD
-
-
+
-
+
@@ -620,7 +620,7 @@
-
+
@@ -868,7 +868,7 @@
-
+
@@ -1128,7 +1128,7 @@
-
+
diff --git a/src/pages/pd-question/pd-question-general-info/pd-question-general-info.html b/src/pages/pd-question/pd-question-general-info/pd-question-general-info.html
index 526714c4..653a23e8 100755
--- a/src/pages/pd-question/pd-question-general-info/pd-question-general-info.html
+++ b/src/pages/pd-question/pd-question-general-info/pd-question-general-info.html
@@ -6,370 +6,364 @@
{{FormId.form_name}}
-
-
-