dynamically set selectize maxOptions to accommodate very long lists
git-svn-id: http://piwigo.org/svn/trunk@29613 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
6eac7dad94
commit
392c1e9c37
1 changed files with 2 additions and 0 deletions
|
|
@ -107,6 +107,8 @@
|
|||
filtered = data;
|
||||
}
|
||||
|
||||
this.selectize.settings.maxOptions = filtered.length + 100;
|
||||
|
||||
// active creation mode
|
||||
if (this.hasAttribute('data-create')) {
|
||||
options.create = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue