Skip to content

Commit

Permalink
Make it clearer that "minimumInputLength" should be set as a Select2 …
Browse files Browse the repository at this point in the history
…option and not inside the AJAX hash. #38 (#15)
  • Loading branch information
hartator authored and pedrofurtado committed Sep 5, 2018
1 parent 591e6a4 commit 663a7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/06.data-sources/02.ajax/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 663a7d1

Please sign in to comment.