ng2-select2 icon indicating copy to clipboard operation
ng2-select2 copied to clipboard

formatInputTooShort not working

Open grarl1 opened this issue 7 years ago • 2 comments

formatInputTooShort property is not working.

minimumInputLength: 3,
formatInputTooShort: function(term: string, minLength: number) {
        console.log(term);
        console.log(minLength);
        return "Test";
}

The point is that even the console is showing nothing so it is not triggered.

grarl1 avatar May 11 '17 09:05 grarl1

I think the problem is that in Select2 4 the property is no called like that anymore. https://github.com/select2/select2/releases/tag/4.0.0-beta.1

But using the new options does not work either.

grarl1 avatar May 11 '17 12:05 grarl1

Right, I do not work either. Is there any other way to modify this message?

Thank you.

juanjosesanchezesteban avatar May 16 '17 08:05 juanjosesanchezesteban