Fix a typo (#34)
This commit is contained in:
parent
d86894d890
commit
ad0451d2fd
@ -74,7 +74,7 @@ $('#mySelect2').select2({
|
||||
ajax: {
|
||||
url: '/example/api',
|
||||
processResults: function (data) {
|
||||
// Tranforms the top-level key of the response object from 'items' to 'results'
|
||||
// Transforms the top-level key of the response object from 'items' to 'results'
|
||||
return {
|
||||
results: data.items
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user