mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-13 21:31:35 +02:00
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:
@@ -107,6 +107,8 @@
|
||||
filtered = data;
|
||||
}
|
||||
|
||||
this.selectize.settings.maxOptions = filtered.length + 100;
|
||||
|
||||
// active creation mode
|
||||
if (this.hasAttribute('data-create')) {
|
||||
options.create = true;
|
||||
|
||||
Reference in New Issue
Block a user