更新时间:2023-11-15 14:11:28
这是我找到的解决方案.
Here is the solution that i have found out.
$("input[name='cont_responsible'],input[name='corr_responsible'],input[name='prev_responsible'],input[name='pfmea_responsible']").select2({
minimumInputLength: 1,
formatInputTooShort: function () {
return "Enter 1 Character";
},
});
不要忘记在您的文档中添加此代码.准备功能.
Do not forget to add this code in your document. ready function.
$(document).ready(function () {
});
我分享了我的解决方案,欢迎任何更好的解决方案.
I shared my solution, any better solutions are welcome.
谢谢.
以下内容适用于V4. @艾萨克·克莱曼(Isaac Kleinman)
language: { inputTooShort: function () { return ''; } },
The following worked for V4. @Isaac Kleinman
language: { inputTooShort: function () { return ''; } },