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

Using formControlName and ionicSelectablePlaceholderTemplate #365

Open beckyhilton opened 2 years ago

beckyhilton commented 2 years ago

Is there a way to use the placeholder while using the formControl when using a multi-select? I want the selectable to show the placeholder but it always shows blank. I tried:

'users': [[undefined]], 'users': [[null]], 'users': [['']], 'users': [[]],

I can have it set a default value but since its a multi-select it remains even after I select something else. I could add something to have it removed but that seems a little bit of over kill for something it should probably be able to handle