Home > Net >  When selectpicker load data contains both English and Chinese, through the keyboard query in Chinese
When selectpicker load data contains both English and Chinese, through the keyboard query in Chinese

Time:09-20

When the bootstrap - selectpicker load data contains both English and Chinese, through the keyboard query in Chinese, because the keyboard just knock on the first letter, began to fuzzy matching, this how to solve! ?

CodePudding user response:

The input method to switch to the Chinese, type in the text, matching in Chinese

CodePudding user response:

I just use the Chinese, such as I need to input "term zhongguo" "China" two word typed with the pinyin, but controls before I finish all input directly to match the "z",

CodePudding user response:

What does that matter? , even when you are pure English, you type z, he will give you match, the input h again, will be more exact match useful, also, waiting for you to "China" two words entered, will give you match China

CodePudding user response:

Enter the "China" two words to input pinyin "term zhongguo" right, but before you enter the "China" two characters, begin to match the first you input the z,

CodePudding user response:

Does exist the problem in the spell list or wubi input method, struck a letter will go to check, the result is input will be more than one letter, there is no find a solution

CodePudding user response:

Did not solve, may be a bug

CodePudding user response:


 



<meta charset="utf-8"/& gt;
123 & lt;/title> <br/><The link href="https://bbs.csdn.net/topics/Content/bootstrap.min.css" rel="stylesheet"/& gt; <br/><The link href="https://bbs.csdn.net/topics/Content/bootstrap-select.min.css" rel="stylesheet"/& gt; <br/><script SRC="https://bbs.csdn.net/topics/Scripts/jquery-3.4.1.min.js" & gt; </script> <br/><script SRC="https://bbs.csdn.net/topics/Scripts/umd/popper.min.js" & gt; </script> <br/><script SRC="https://bbs.csdn.net/topics/Scripts/bootstrap.min.js" & gt; </script> <br/><script SRC="https://bbs.csdn.net/topics/Scripts/bootstrap-select.min.js" & gt; </script> <br/><script SRC="https://bbs.csdn.net/topics/Scripts/i18n/defaults-zh_CN.min.js" & gt; </script> <br/></head> <br/><body> <br/><Select data - live - search="true" & gt; <br/><Option> Mustard</option> <br/><Option> Ketchup</option> <br/><Option> Relish</option> <br/><Option> Zhang SAN q</option> <br/><Option> Li si s</option> <br/><Option> Liu three dd</option> <br/></select> <br/></body> <br/></html> <br/></pre><p class="article - content rp"> CodePudding user response: </p>That $lis. The filter (' active '). RemoveClass (" active "); <br/>//that) $lis) not ('. Hidden,. Divider,. Dropdown can - the header '). The eq (0). The addClass (' active '.) children (' a '). The focus (); <br/>//$(this). The focus ();<p class="article - content rp"> CodePudding user response: </p>Try all comments need friends<p class="article - content rp"> CodePudding user response: </p>The <fieldset> <legend> reference 9/f, f * * KCSDN reply: <legend> <blockquote> <img SRC="https://img.codepudding.com/202009/89617202032061.gif" Alt=""/> <br/><pre> <br/><! DOCTYPE html> <br/><html> <br/><head> <br/><meta charset="utf-8"/& gt; <br/><title> 123 & lt;/title> <br/><The link href="https://bbs.csdn.net/topics/Content/bootstrap.min.css" rel="stylesheet"/& gt; <br/><The link href="https://bbs.csdn.net/topics/Content/bootstrap-select.min.css" rel="stylesheet"/& gt; <br/><script SRC="https://bbs.csdn.net/topics/Scripts/jquery-3.4.1.min.js" & gt; </script> <br/><script SRC="https://bbs.csdn.net/topics/Scripts/umd/popper.min.js" & gt; </script> <br/><script SRC="https://bbs.csdn.net/topics/Scripts/bootstrap.min.js" & gt; </script> <br/><script SRC="https://bbs.csdn.net/topics/Scripts/bootstrap-select.min.js" & gt; </script> <br/><script SRC="https://bbs.csdn.net/topics/Scripts/i18n/defaults-zh_CN.min.js" & gt; </script> <br/></head> <br/><body> <br/><Select data - live - search="true" & gt; <br/><Option> Mustard</option> <br/><Option> Ketchup</option> <br/><Option> Relish</option> <br/><Option> Zhang SAN q</option> <br/><Option> Li si s</option> <br/><Option> Liu three dd</option> <br/></select> <br/></body> <br/></html> <br/></pre> </blockquote> <fieldset> <br/>Try my<p class="article - content rp"> CodePudding user response: </p>https://mp.csdn.net/console/editor/html/104608076 solution<p class="article - content rp"> CodePudding user response: </p>https://blog.csdn.net/moqiluoji/article/details/104608076? Ops_request_misc=% 7 b % 22 request % 5 fid % 3 a 22% 22% % 22158312086019725222447309% 2 c % 22 SCM % 22% % 2220140713.130056874. 3 a. % 22% 7 d & amp; Request_id=158312086019725222447309 & amp; Biz_id=0 & amp; Utm_source=distribute. Pc_search_result. None - task <br/><br/>Chinese is interrupted when the solution </div> <div class="th_page th_page_color"></div> <div class="umCopyright"> <p>Page link:<a href="/net/16235.html" target="_blank" style="color:#999">https//www.codepudding.com/net/16235.html</a></p> </div> <div class="detail-arr"> <div class="detail-arr-left">Prev:<a href='/net/16234.html'>Vb.net char controls</a></div> <div class="detail-arr-right">Next:<a href='/net/16236.html'>The issue of multithreading create mass participation..</a></div> </div> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="hot-tags neitags"> <ul> <li><i class="iconfont icon-x-tags"></i> Tags:  </li> <a href='/e/tags/?tagname=ASP.NET' target='_blank'>ASP.NET</a> </ul> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="xiangguan"> <ul class="msg msghead"> <li class="tbname">Related</li> </ul> <ul> </ul> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="flinks"> <ul> <li><i class="iconfont icon-x-tags"></i> Links:  </li> <li class="liflinks"><a target="_blank" href="/" title="CodePudding">CodePudding</a></li> </ul> </div> </div> </div> </div> <div class="footer"> <p><span style="font-size:16px;color:#666;font-weight: bold">About Us:</span>  <a href="https://www.codepudding.com/contact.html">Contact Us</a>      <a href="https://www.codepudding.com/service.html">Terms of Service</a>      <a href="https://www.codepudding.com/privacy.html"> Privacy Policy</a></p> <p class="foot_info">Copyright © 2010-2023,Powered By <a href="/" target="_blank">CodePudding</a> </p> </div> <script type="text/javascript" src="/skin/code/tianhu.js"></script> </body></html>