Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
NPM Audit Fixes
  • Loading branch information
tanansatpal committed May 23, 2019
1 parent eddc19e commit be2f05d
Show file tree
Hide file tree
Showing 5 changed files with 524 additions and 26 deletions.
35 changes: 21 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ <h3>Test International Telephone Input Form</h3>
formControlName="phone" #phone></ngx-mat-intl-tel-input>
<mat-hint>e.g. {{phone.selectedCountry.placeHolder}}</mat-hint>
<mat-error *ngIf="f.form.controls['phone']?.errors?.required">Required Field</mat-error>
<mat-error *ngIf="f.form.controls['phone']?.errors?.validatePhoneNumber">Invalid Number</mat-error>
<!-- <mat-error *ngIf="f.submitted && f.form.controls['phone']?.errors?.validatePhoneNumber">Invalid Number</mat-error>-->
<mat-error *ngIf="f.submitted && f.form.controls['phone']?.errors?.validatePhoneNumber">Invalid Number</mat-error>
</mat-form-field>

<mat-form-field>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ export class AppComponent {
});

onSubmit() {
console.log("onSubmit",this.phoneForm);
console.log("onSubmit", this.phoneForm);
}
}
Loading

0 comments on commit be2f05d

Please sign in to comment.