Parcourir la source

Make it clearer that "minimumInputLength" should be set as a Select2 option and not inside the AJAX hash. select2/select2#38 (#15)

hartator il y a 6 ans
Parent
commit
663a7d193d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pages/06.data-sources/02.ajax/docs.md

+ 1 - 1
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`.