Is there any way to hide search icon from Searchbar
1 Like
You can hide class or change its background;
like this:
.searchbar-search-icon { display:none; width:0; height:0; }
3 Likes
Thanks Alex,this is working…
@alexanderpichugin : it worked for me too, but the icon space is still remain as blank. Is there any way to remove that also?
@dharwad_ravi If you don’t set animation=true and add this style, the blank space will be gone.
.searchbar-input {
padding-left: 9px !important;
}
1 Like
Thanks Alexander, I will try it.
Set search-icon=“undefined”, It will hide the search icon from searchbar.
example = “ion-searchbar search-icon=“undefined” ></ion-searchbar”
1 Like