ng2-select2
ng2-select2 copied to clipboard
formatInputTooShort not working
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.
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.
Right, I do not work either. Is there any other way to modify this message?
Thank you.