Can't style placeholder

Hello :

I'm trying to customize the placeholder style of the in my @ionic/angular app with no success. I need to change de color, font-family etc and when I do directly at chrome devtools it works but doing at component scss doesn't works for me. I changed the rest of the component style but I'm stuck with the placeholder.

Can you help me?

Thanks.  

Edit 1 :
I realized that if I enable  encapsulation: ViewEncapsulation.None  then works, but it breaks other styles in the page.
Edit 2:
I solved using the default ViewEncapsulation with this css selector  :host ::ng-deep .e-input::placeholder {

1 Reply

PM Ponmani Murugaiyan Syncfusion Team October 22, 2020 05:03 PM UTC

Hi Vicente, 

Greetings from Syncfusion support. 

We are happy to know that you have found the solution to resolve the issue. Please get back us if you need further assistance. 

Regards, 
Ponmani M 


Loader.
Up arrow icon