imporoved docs
This commit is contained in:
parent
dd21346e9f
commit
379f2db8d6
@ -213,11 +213,11 @@ $("#e10_3").select2({
|
|||||||
<h2>Changelog from 2.x</h2>
|
<h2>Changelog from 2.x</h2>
|
||||||
<div class="row"><div class="span12">
|
<div class="row"><div class="span12">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Dropdown div is now appended directly to <code>body</code> and is absolutely positioned. This should help when Select2 is inside constrained elements such as modals.</li>
|
<li>Dropdown <code>div</code> is now appended directly to <code>body</code> and is absolutely positioned. This should allow the dropdown to overlap height-constrained containers such as modal windows.</li>
|
||||||
<li>Optgroups are now supported.</li>
|
<li><code>Optgroup</code>s are now supported in <code>select</code>s. Recursive result trees are supported when attached to <code>input[type=hidden]</code>. See the new <a href="#doc-query">children</a> property described in the docs.</li>
|
||||||
<li>Signature of <code>initSeletion</code> has changed to support asynchronous requests</li>
|
<li>Signature of <code>initSeletion</code> has changed to support initialization from asynchronous requests.</li>
|
||||||
<li>Dropdown can now open below or above the control depending on available screen space</li>
|
<li>Dropdown will now open below or above the control depending on available screen space. No more scrolling the page to see to see all matched results.</li>
|
||||||
<li>Signature of <code>formatSelection</code> and <code>formatResult</code> changed in a backwards compatible way to support more powerful constructs than supported by strings alone</li>
|
<li>Signature of <code>formatSelection</code> and <code>formatResult</code> changed in a backwards compatible way to support more powerful constructs than supported by strings alone.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div></div>
|
</div></div>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
Reference in New Issue
Block a user