eakoriakin / ionic-selectable

Ionic Selectable is an Ionic versatile and highly customizable component that serves as a replacement to Ionic Select, and allows to search items, including async search, create items, customize the layout with templates and much more. It provides an intuitive API and is easy to set up and use.
MIT License
549 stars 125 forks source link

CANNOT modify Style for SearchBar #355

Open DevForAll-Loic opened 3 years ago

DevForAll-Loic commented 3 years ago

Using ng-template to customize Searchbar just doesnt work. Also, custom CSS from .scss files are just ignored, and using ng-template only work for the navbar but nothing work for Searchbar.

Like it showed on the next pictures, i followed documentation which tell us to use ngTemplate on Header.

Capture d’écran 2021-07-06 à 14 22 19 Capture d’écran 2021-07-06 à 14 22 29

Capture d’écran 2021-07-06 à 14 21 54

Is there anything i did wrong ?

Thank's a lot

edy-ap commented 2 years ago

You should make canSearch= false, and in headerTemplate implement your own search logic