NejcZdovc / ng2-select2

Select 2 wraper for angular2
MIT License
123 stars 93 forks source link

formatNoMatches option not working #131

Open Shtibel opened 6 years ago

Shtibel commented 6 years ago

Hi here is my code:

this.treatmentOptions = { allowClear: true, formatNoMatches: (term) => { return ("Nothing for:"+term); } };

Y is this not working?

Here is the link to all options: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/4869992bc079b88280b9ff91213528904109e8ae/select2/index.d.ts#L40