从数据集中选择值


                    

我有一项服务,在该服务中,我需要客户“开始输入”他们的组织名称,并且需要显示搜索结果。 我当时正在考虑将Select2用作引导程序,但是我似乎找不到适合我需求的功能。 如果我可以使用Select2很好,但是唯一的问题是,我的客户只能选择一个名称,而不能选择另一个。 有关如何执行此操作的任何想法?</ p>

谢谢</ p>
     </ div>

展开原文

原文

I have a service where in a form I need the client to "begin typing" in their organization name and I need search results to appear. I was considering Select2 for bootstrap however I can't seem to find a function that fits my needs. If I could use Select2 that would be great, however the only problem is, my client should only be able to chose one name and not be able to select another. Any ideas on how to do this?

Thanks

1个回答


有一些库可以做到这一点,其中包括Twitter的一个名为 typeahead.js的开源库。 ,根据我的经验是</ p>


  1. 很快</ li>
  2. 针对大型数据集进行了优化(可考虑10,000个选项)</ li>
  3. 高度可定制</ li>
    </ ol>
         </ div>

展开原文

原文

There are a few libraries that do this, including an open-source one by Twitter called typeahead.js, which in my experience is

  1. Very fast
  2. Optimized for large data sets (Think 10,000 options)
  3. Highly customizable

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐