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:
parent
591e6a4855
commit
663a7d193d
@ -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`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user