2015-09-13 18:31:59 +03:00
|
|
|
<section>
|
|
|
|
<h2>
|
|
|
|
Can I change how the dropdown is placed?
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
<h3 id="dropdown-attachContainer">
|
|
|
|
Can the dropdown be placed directly after the selection container?
|
|
|
|
</h3>
|
|
|
|
|
2015-09-15 02:30:32 +03:00
|
|
|
{% include options/not-written.html %}
|
2015-09-13 18:31:59 +03:00
|
|
|
|
|
|
|
<h3 id="dropdownParent">
|
|
|
|
Can I pick an element for the dropdown to be appended to?
|
|
|
|
</h3>
|
|
|
|
|
2016-01-15 03:29:48 +03:00
|
|
|
<pre class="prettyprint">
|
|
|
|
$('select').select2({
|
|
|
|
dropdownParent: $('#my_amazing_modal')
|
|
|
|
});
|
|
|
|
</pre>
|
|
|
|
|
2015-09-15 02:30:32 +03:00
|
|
|
{% include options/not-written.html %}
|
2015-09-13 18:31:59 +03:00
|
|
|
|
|
|
|
<h3>
|
|
|
|
I'm using a Bootstrap modal and I can't use the search box
|
|
|
|
</h3>
|
|
|
|
|
2015-09-15 02:30:32 +03:00
|
|
|
{% include options/not-written.html %}
|
2015-09-13 18:31:59 +03:00
|
|
|
|
|
|
|
<h3>
|
|
|
|
I'm using jQuery UI and I can't use the search box
|
|
|
|
</h3>
|
|
|
|
|
2015-09-15 02:30:32 +03:00
|
|
|
{% include options/not-written.html %}
|
2015-09-13 18:31:59 +03:00
|
|
|
</section>
|