Fairoj : Address Field navigation issue fixed

This commit is contained in:
venbatechnologies@gmail.com 2019-11-05 12:56:22 +05:30
parent fce56d9222
commit f72f9a9bb0
2 changed files with 4 additions and 4 deletions

View File

@ -149,8 +149,8 @@
<div formArrayName="addresses" *ngFor="let addresses of pdAddresses.controls; let i = index;">
<mat-card-content [formGroupName]="i">
<mat-form-field style="width: 96%">
<textarea matInput autocomplete="off" placeholder="Address at which PD is to be done" formControlName="addressline1"
[value]="addresses.get('addressline1').value | titlecase"></textarea>
<textarea matInput autocomplete="off" placeholder="Address at which PD is to be done" formControlName="addressline1" style="text-transform: capitalize"
[value]="addresses.get('addressline1').value"></textarea>
<!-- oninput="this.value = this.value.toUpperCase()" -->
<!-- <mat-error *ngIf="pdAddresses.addressline1.hasError('required')">Address1 required.</mat-error> -->
</mat-form-field>

View File

@ -175,8 +175,8 @@
<mat-card-content>
<mat-form-field style="width: 96%">
<textarea matInput autocomplete="off" placeholder="Address at which PD is to be done"
formControlName="addressline1" [value]="addresses.get('addressline1').value | titlecase"></textarea>
<textarea matInput autocomplete="off" placeholder="Address at which PD is to be done" style="text-transform: capitalize"
formControlName="addressline1" [value]="addresses.get('addressline1').value"></textarea>
</mat-form-field>
<mat-form-field style="width: 32%">