1
0
mirror of synced 2024-11-23 05:26:10 +03:00

fix typo in docs

`createSearhChoice` -> `createSearchChoice`
This commit is contained in:
Chris Van 2012-09-23 23:40:17 -07:00
parent d9f72b4c22
commit ae6b4ab317

View File

@ -1140,7 +1140,7 @@ $("#tags").select2({
The default tokenizer will only be used if the <code>tokenSeparators</code> and <code>createSearchChoice</code> The default tokenizer will only be used if the <code>tokenSeparators</code> and <code>createSearchChoice</code>
options are specified. The default tokenizer will split the string using any separator in <code>tokenSeparators</code> options are specified. The default tokenizer will split the string using any separator in <code>tokenSeparators</code>
and will create and select choice objects using <code>createSearhChoice</code> option. It will also and will create and select choice objects using <code>createSearchChoice</code> option. It will also
ignore duplicates, silently swallowing those tokens. ignore duplicates, silently swallowing those tokens.
</td></tr> </td></tr>
<tr id="doc-tokenSeparators"><td>tokenSeparators</td><td>array</td><td> <tr id="doc-tokenSeparators"><td>tokenSeparators</td><td>array</td><td>