1
0
mirror of synced 2024-11-22 13:06:08 +03:00

add diacritics support example

This commit is contained in:
Igor Vaynberg 2013-06-28 10:05:55 -07:00
parent b139f7ae04
commit aca6eb6240
2 changed files with 29 additions and 1 deletions

View File

@ -232,6 +232,7 @@ $("#e10_4").select2({
<li><a href="#matcher">Custom Matcher Function</a></li>
<li><a href="#sort_results">Sorting Displayed Results</a></li>
<li><a href="#responsive">Responsive Design</a></li>
<li><a href="#diacritics">Diacritics Support</a></li>
</ul>
</li>
<li><a href="#documentation">Documentation</a></li>
@ -1019,6 +1020,33 @@ $(document).ready(function () {
</div>
</article>
<article class="row" id="diacritics">
<div class="span12">
<h3>Diacritics Support</h3>
<p>Select2's default matcher will ignore diacritics, making it easier for users to filter results in international selects. Type &quot;aero&quot; into the select below:</p>
<p>
<select id="e30" multiple="multiple" style="width:300px;">
<option>Aeróbics</option>
<option>Aeróbics en Agua</option>
<option>Aerografía</option>
<option>Aeromodelaje</option>
<option>Águilas</option>
<option>Ajedrez</option>
<option>Ala Delta</option>
<option>Álbumes de Música</option>
<option>Alusivos</option>
<option>Análisis de Escritura a Mano</option>
</select>
<script>
$(function() {
$("#e30").select2();
})
</script>
</p>
</div>
</article>
</section>

@ -1 +1 @@
Subproject commit 4947c2950d871df17364c96baaa9962cf6d59553
Subproject commit be535c7a777ac90339dd21486aee998d82101f7b