Skip to content

Commit 74fe6ff

Browse files
committed
Fix ajax-field 'quietMillis' to 'delay'.
See select2 documentation at https://select2.github.io/options.html#ajax
1 parent a44529f commit 74fe6ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

select2/select2-tests.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ $("#e7").select2({
9999
ajax: {
100100
url: "http://api.rottentomatoes.com/api/public/v1.0/movies.json",
101101
dataType: 'jsonp',
102-
quietMillis: 100,
102+
delay: 100,
103103
data: function (term, page) {
104104
return {
105105
q: term,

select2/select2.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ interface Select2AjaxOptions {
2525
*/
2626
url?: any;
2727
dataType?: string;
28-
quietMillis?: number;
28+
delay?: number;
2929
cache?: boolean;
3030
data?: (term: string, page: number, context: any) => any;
3131
results?: (term: any, page: number, context: any) => any;

0 commit comments

Comments
 (0)