Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add ng2TelInputOptions to input field #68

Open
keyboardbreaker opened this issue Mar 10, 2020 · 0 comments
Open

Unable to add ng2TelInputOptions to input field #68

keyboardbreaker opened this issue Mar 10, 2020 · 0 comments

Comments

@keyboardbreaker
Copy link

keyboardbreaker commented Mar 10, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant