This commit is contained in:
sriram-at-840620226347 2019-11-05 15:41:47 +05:30
commit 907d235854
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%">