Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on 'ajax' 'results' seems slightly off #31

Closed
performancewanted opened this issue Apr 13, 2012 · 1 comment
Closed

Documentation on 'ajax' 'results' seems slightly off #31

performancewanted opened this issue Apr 13, 2012 · 1 comment
Milestone

Comments

@performancewanted
Copy link

The examples with the 'ajax' option have inconsistent prototypes:

results: function (data, vars) {

and

results: function (data, page) {

While the documentation at the bottom has the prototype:

results(term, page)

Based on the examples, I'm pretty sure 'term' and its associated description is wrong in the documentation and 'vars' is wrong in the first AJAX example.

@ivaynberg
Copy link
Contributor

thanks.

Gataniel pushed a commit to Gataniel/select2 that referenced this issue Jul 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants