1
0
mirror of synced 2024-11-30 00:26:03 +03:00

Fix typo in placeholderOption section

This commit is contained in:
Steve 2013-06-30 11:35:08 -05:00
parent aca6eb6240
commit 428bda3747

View File

@ -1112,7 +1112,7 @@ $(document).ready(function () {
</td></tr> </td></tr>
<tr><td>placeholderOption</td><td>function/string</td><td> <tr><td>placeholderOption</td><td>function/string</td><td>
<p>When attached to a <code>select</code> resolves the <code>option</code> that should be used as the placeholder. <p>When attached to a <code>select</code> resolves the <code>option</code> that should be used as the placeholder.
Can either be a function which given the <code>select</code> element should return the <code>optoin</code> Can either be a function which given the <code>select</code> element should return the <code>option</code>
element or a string <code>first</code> to indicate that the first option should be used.</p> element or a string <code>first</code> to indicate that the first option should be used.</p>
<p>This option is useful when Select2's default of using the first option only if it has no value and no text is not suitable.</p> <p>This option is useful when Select2's default of using the first option only if it has no value and no text is not suitable.</p>
</td></tr> </td></tr>