From 663a7d193da97abe49df33c7591cb8fff7a34011 Mon Sep 17 00:00:00 2001 From: hartator Date: Tue, 4 Sep 2018 19:53:19 -0500 Subject: [PATCH] Make it clearer that "minimumInputLength" should be set as a Select2 option and not inside the AJAX hash. select2/select2#38 (#15) --- pages/06.data-sources/02.ajax/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/06.data-sources/02.ajax/docs.md b/pages/06.data-sources/02.ajax/docs.md index 4dd177e1..060bcd8f 100644 --- a/pages/06.data-sources/02.ajax/docs.md +++ b/pages/06.data-sources/02.ajax/docs.md @@ -37,7 +37,7 @@ You can configure how Select2 searches for remote data using the `ajax` option. ## Request parameters -Select2 will issue a request to the specified URL when the user opens the control (unless there is a `minimumInputLength` set), and again every time the user types in the search box. By default, it will send the following as query string parameters: +Select2 will issue a request to the specified URL when the user opens the control (unless there is a `minimumInputLength` set as a Select2 option), and again every time the user types in the search box. By default, it will send the following as query string parameters: - `term` : The current search term in the search box. - `q` : Contains the same contents as `term`.