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

AutoPlaceHolder with angular material mat-input not working #47

Open
fabrizziocht opened this issue Jul 3, 2019 · 1 comment
Open

Comments

@fabrizziocht
Copy link

I'm trying to show the country placeholder example using matInput from angular material, but not works. I enabled autoPlaceholder = aggressive:
<input matInput type="text" ng2TelInput [ng2TelInputOptions]=" {'onlyCountries': ['pe', 'br'], 'separateDialCode': true, 'autoPlaceholder': 'aggressive'}" formControlName="tel" (hasError)="hasError($event)" (ng2TelOutput)="getNumber($event)" (intlTelInputObject)="telInputObject($event)" (countryChange)="onCountryChange($event)" >

@akvaliya
Copy link

akvaliya commented Jan 18, 2020

I am using the same & able to get placeholder based on selected country. Can you provide some reproduction like provide stackblitz to show your issue?

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

2 participants