How to change ion-search icon color and show search bar focused all the time?

#1

Hey guys. I’ve been stuck with this issues for half day. I am using dark as background color, for some reason, this hides icon color but not placeholder which I set to white. And is there any attribute that I can apply to set search bar focused by default which means it will always shows cancel button on right side?

Thank you.

1 Like
#2

Anyone got the answer please reply @lianghua19