ngx-mat-input-tel 21.4.1 → 21.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -45,7 +45,7 @@ This is a fork from the [ngx-mat-intl-tel-input](https://github.com/tanansatpal/
45
45
  Add `NgxMatInputTelComponent` to your component file:
46
46
 
47
47
  ```ts
48
- imports: [NgxMatInputTelComponent]
48
+ imports: [NgxMatInputTelComponent];
49
49
  ```
50
50
 
51
51
  ## Example
@@ -66,18 +66,17 @@ Refer to main app in this repository for working example.
66
66
  ```
67
67
 
68
68
  ```html
69
-
70
69
  <form #f="ngForm" [formGroup]="phoneForm">
71
70
  <ngx-mat-input-tel
72
- [preferredCountries]="['US', 'GB']"
73
- [enablePlaceholder]="true"
74
- [enableSearch]="true"
75
- name="phone"
76
- autocomplete="tel"
77
- (countryChanged)="yourComponentMethodToTreatyCountryChangedEvent($event)" // $event is a instance of current select Country
78
- formControlName="phone"></ngx-mat-input-tel>
71
+ [preferredCountries]="['US', 'GB']"
72
+ [enablePlaceholder]="true"
73
+ [enableSearch]="true"
74
+ name="phone"
75
+ autocomplete="tel"
76
+ (countryChanged)="yourComponentMethodToTreatyCountryChangedEvent($event)"
77
+ formControlName="phone"
78
+ ></ngx-mat-input-tel>
79
79
  </form>
80
-
81
80
  ```
82
81
 
83
82
  If you want to show the sample number for the country selected or errors, use mat-hint and mat-error as