1
0
mirror of synced 2025-02-09 16:49:24 +03:00

Merge pull request #1479 from snkashis/patch-1

Fix typo in placeholderOption section
This commit is contained in:
Igor Vaynberg 2013-07-03 23:15:34 -07:00
commit fde12667b8

View File

@ -1112,7 +1112,7 @@ $(document).ready(function () {
</td></tr>
<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.
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>
<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>