From: Jo-Philipp Wich Date: Tue, 28 May 2019 13:31:26 +0000 (+0200) Subject: luci-base: form.js: default to unlimited dropdown size X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f302eabd728a02c62b96ec12295201b658313698;p=oweals%2Fluci.git luci-base: form.js: default to unlimited dropdown size Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 835c1fbb6..9351bae03 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -1543,7 +1543,7 @@ var CBIMultiValue = CBIDynamicList.extend({ optional: this.optional || this.rmempty, select_placeholder: this.placeholder, display_items: this.display_size || this.size || 3, - dropdown_items: this.dropdown_size || this.size || 5, + dropdown_items: this.dropdown_size || this.size || -1, validate: L.bind(this.validate, this, section_id) });