mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-30 07:59:50 -08:00
32 lines
1 KiB
HTML
32 lines
1 KiB
HTML
<section>
|
|
<h2 id="input-fallback">
|
|
Compatibility with <code><input type="text" /></code>
|
|
</h2>
|
|
|
|
<p class="alert alert-warning">
|
|
<a href="announcements-4.0.html#hidden-input" class="alert-link">Deprecated in Select2 4.0.</a>
|
|
It is now encouraged to use the <code><select></code> tag instead.
|
|
</p>
|
|
|
|
<p>
|
|
In past versions of Select2, a <code><select></code> element could
|
|
only be used with a limited subset of options. An
|
|
<code><input type="hidden" /></code> was required instead, which did
|
|
not allow for a graceful fallback for users who did not have JavaScript
|
|
enabled. Select2 now supports the <code><select></code> element for
|
|
all options, so it is no longer required to use <code><input /></code>
|
|
elements with Select2.
|
|
</p>
|
|
|
|
<dl class="dl-horizontal">
|
|
<dt>Adapter</dt>
|
|
<dd>
|
|
<code title="select2/data/base">DataAdapter</code>
|
|
</dd>
|
|
|
|
<dt>Decorator</dt>
|
|
<dd>
|
|
<code title="select2/compat/inputData">InputData</code>
|
|
</dd>
|
|
</dl>
|
|
</section> |