We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6703ac7 commit 8aa1a62Copy full SHA for 8aa1a62
src/pat/auto-suggest/auto-suggest.js
@@ -265,7 +265,8 @@ export default Base.extend({
265
results: (data, page) => {
266
// parse the results into the format expected by Select2.
267
// data must be a list of objects with keys "id" and "text"
268
- return { results: data, page: page };
+ var more = Object.keys(data).length >= 10;
269
+ return { results: data, page: page, more: more };
270
},
271
272
0 commit comments