Переглянути джерело

explain server-side filtering

alexweissman 7 роки тому
батько
коміт
5fc339ba88
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      pages/06.data-sources/02.ajax/docs.md

+ 1 - 1
pages/06.data-sources/02.ajax/docs.md

@@ -83,7 +83,7 @@ $('#mySelect2').select2({
 });
 ```
 
->>> Select2 expects results from the remote endpoint to be filtered on the **server side**. If server-side filtering is not possible, you may be interested in using Select2's [support for data arrays](/data-sources/arrays) instead.
+>>> Select2 expects results from the remote endpoint to be filtered on the **server side**. See [this comment](https://github.com/select2/select2/issues/2321#issuecomment-42749687) for an explanation of why this implementation choice was made. If server-side filtering is not possible, you may be interested in using Select2's [support for data arrays](/data-sources/arrays) instead.
 
 ## Default (pre-selected) values