ng2-tel-input
ng2-tel-input copied to clipboard
Unable to add ng2TelInputOptions to input field
Getting this error When trying to add the [ng2TelInputOptions] to the input field.
<input #telInput [ng2TelInputOptions]="{initialCountry: 'us'}" ng2TelInput (countryChange)="onCountryChange($event)" (intlTelInputObject)="setCountry($event)" class="form-control" placeholder="Phone Number" formControlName="phone_1" />
I have ng2TelInputOptions imported and exported in shared modules like in this unresolved issue
ng2-tel-input: "^2.1.0",
intl-tel-input: "^16.0.11",
Angular CLI: 9.1.0-next.0
Node: 10.15.3
OS: darwin x64
Angular: 9.1.0-next.1
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.901.0-next.0
@angular-devkit/build-angular 0.901.0-next.0
@angular-devkit/build-optimizer 0.901.0-next.0
@angular-devkit/build-webpack 0.901.0-next.0
@angular-devkit/core 9.1.0-next.0
@angular-devkit/schematics 9.1.0-next.0
@angular/cli 9.1.0-next.0
@ngtools/webpack 9.1.0-next.0
@schematics/angular 9.1.0-next.0
@schematics/update 0.901.0-next.0
rxjs 6.5.4
typescript 3.7.5
webpack 4.41.6