File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ $(function() {
92
92
</tr>
93
93
<tr>
94
94
<td valign="top"><code>loadThrottle</code></td>
95
- <td valign="top">The number of milliseconds to wait before requesting options from the server.</td>
95
+ <td valign="top">The number of milliseconds to wait before requesting options from the server or null. If null, throttling is disabled .</td>
96
96
<td valign="top"><code>int</code></td>
97
97
<td valign="top"><code>300</code></td>
98
98
</tr>
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ var Selectize = function($input, settings) {
44
44
userOptions : { } ,
45
45
items : [ ] ,
46
46
renderCache : { } ,
47
- onSearchChange : debounce ( self . onSearchChange , settings . loadThrottle )
47
+ onSearchChange : settings . loadThrottle === null ? self . onSearchChange : debounce ( self . onSearchChange , settings . loadThrottle )
48
48
} ) ;
49
49
50
50
// search system
You can’t perform that action at this time.
0 commit comments