Home > Blockchain >  ion-intl-tel-input default country placeholder issue with Ionic 6.20.1
ion-intl-tel-input default country placeholder issue with Ionic 6.20.1

Time:09-20

I have successfully installed and configured the plugin - "ion-intl-tel-input" from <enter image description here

What I'm expecting to achieve :

enter image description here

Thanks in advance..!

CodePudding user response:

After a guidance from my senior dev got the solution simply with CSS.

Here it is:

   ion-intl-tel-input {
    ::ng-deep .ionic-selectable-has-placeholder div.ionic-selectable-value-item 
    {
      content: "";
      display: inline-block;
      width: 23px;
      background-color: var(--placeholder-color, #999);
      height: 18px;
      font-size: 0px;
    }
  }
  • Related