Skip to content

Commit e080cf5

Browse files
committed
Merge pull request selectize#1010 from yene/patch-1
Added createItem parameters to the API docs.
2 parents c9273d9 + 7111fe3 commit e080cf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ var selectize = $select[0].selectize;
100100
<td valign="top">Removes the selected item matching the provided value. If "silent" is truthy, no change event will be fired on the original input.</td>
101101
</tr>
102102
<tr>
103-
<td valign="top"><code>createItem(value, callback)</code></td>
103+
<td valign="top"><code>createItem(value, [triggerDropdown], [callback])</code></td>
104104
<td valign="top">Invokes the "create" method provided in the selectize options that should provide the data for the new item, given the user input. Once this completes, it will be added to the item list.</td>
105105
</tr>
106106
<tr>

0 commit comments

Comments
 (0)