catch up to master. also added maximum input length example for #721
This commit is contained in:
parent
5b1e1de070
commit
4a3e0c5078
@ -663,6 +663,29 @@ $("#e11_2")
|
||||
</pre>
|
||||
</div>
|
||||
</article>
|
||||
<article class="row" id="maximum">
|
||||
<script id="script_e23">
|
||||
$(document).ready(function () {
|
||||
$("#e23").select2({
|
||||
tags:["red", "green", "blue"],
|
||||
maximumInputLength: 10
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div class="span4">
|
||||
<h3>Maximum Input Length</h3>
|
||||
|
||||
<p>Select2 can be set a limit on the number of characters that can be entered per tag.</p>
|
||||
|
||||
<p><input type="hidden" id="e23" style="width:300px" value="brown, red, green"/></p>
|
||||
<p>You would not be able to enter any input of more than 10 characters long.</p>
|
||||
</div>
|
||||
<div class="span8">
|
||||
<h3>Example Code</h3>
|
||||
<pre class="prettyprint linenums" id="code_e23">
|
||||
</pre>
|
||||
</div>
|
||||
</article>
|
||||
<article class="row" id="token">
|
||||
<script id="script_e20">
|
||||
$(document).ready(function () {
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit c270d3e4a376bb6d2e05eacf157536b2cf75c7f0
|
||||
Subproject commit 995d0c3bf4fa1d423c61e7ff5c713dd13fb3d253
|
Loading…
Reference in New Issue
Block a user