From f302eabd728a02c62b96ec12295201b658313698 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 28 May 2019 15:31:26 +0200 Subject: [PATCH] luci-base: form.js: default to unlimited dropdown size Signed-off-by: Jo-Philipp Wich --- modules/luci-base/htdocs/luci-static/resources/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 835c1fbb61..9351bae035 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) }); -- 2.30.2