1
0
mirror of synced 2025-02-03 21:59:24 +03:00

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

This commit is contained in:
hartator 2018-09-04 19:53:19 -05:00 committed by Pedro Felipe de Azevedo Furtado
parent 591e6a4855
commit 663a7d193d

View File

@ -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`.