NgxPhoneInput
Getting started
Step 1: Install:
NPM
npm install --save ngx-phone-number-input
YARN
yarn add ngx-phone-number-input
Step 2: Import the NgxPhoneNumberInputModule and ReactiveFormsModule module:
import { NgxPhoneNumberInputModule } from 'ngx-phone-number-input';
import { ReactiveFormsModule } from '@angular/forms';
@NgModule({
declarations: [AppComponent],
imports: [NgxPhoneNumberInputModule, ReactiveFormsModule],
bootstrap: [AppComponent]
})
export class AppModule {}