1
0
mirror of synced 2024-11-26 06:46:04 +03:00

clarify some text in docs

This commit is contained in:
Igor Vaynberg 2012-07-12 23:12:47 +03:00
parent 45c891a44c
commit 98c0dc5f92
2 changed files with 4 additions and 3 deletions

View File

@ -216,6 +216,7 @@ $("#e10_3").select2({
<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>Optgroups are now supported.</li>
<li>Signature of <code>initSeletion</code> has changed to support asynchronous requests</li>
<li>Dropdown can now open below or above the control depending on available screen space</li>
</ul>
</div></div>
</section>
@ -1150,12 +1151,12 @@ $("#tags").select2({
<tr>
<th>Attached to <code>select</code></th>
<td>Value of the <code>value</code> attribute of the <code>option</code> that should be selected</td>
<td>Array of values specified to the left. <code>null</code> for empty.</td>
<td>Array of the <code>value</code> attributes of the <code>option</code>s that should be selected. <code>null</code> for empty.</td>
</tr>
<tr>
<th>Attached to <code>input[type=hidden]</code></th>
<td>An object representing the selection. Should at least contain an <code>id</code> key. The rest of the keys should be determined by the custom rendering function, the default rendering function only needs an additional <code>text</code> key</td>
<td>Array of objects specified to the left. <code>null</code> for empty.</td>
<td>An array of objects representing the selection. <code>null</code> for empty.</td>
</tr>
</table>

@ -1 +1 @@
Subproject commit 2c0344a520d477d2693d6bed222e4ee6a1da800d
Subproject commit 482cc409ea27fc3cdf1028e9202c1ca7ada01e35