NejcZdovc/ng2-select2

formatNoMatches option not working

Shtibel opened this issue · 0 comments

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