Skip to content

Commit 3b4119b

Browse files
committed
Move maxOptions from autocomplete dist to source
1 parent ed5e02e commit 3b4119b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/Autocomplete/assets/dist/controller.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ _default_1_instances = new WeakSet(), _default_1_getCommonConfig = function _def
341341
}
342342
return query.length >= 3;
343343
},
344-
maxOptions: null,
345344
optgroupField: 'group_by',
346345
score: (search) => (item) => 1,
347346
render: {

src/Autocomplete/assets/src/controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ export default class extends Controller {
292292

293293
return query.length >= 3;
294294
},
295+
maxOptions: null,
295296
optgroupField: 'group_by',
296297
// avoid extra filtering after results are returned
297298
score: (search: string) => (item: any) => 1,

0 commit comments

Comments
 (0)