summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-05-28 15:31:26 +0200
committerJo-Philipp Wich <jo@mein.io>2019-07-07 15:36:25 +0200
commitf302eabd728a02c62b96ec12295201b658313698 (patch)
treec635c20229fa13d42cbb49d38bf7b6ade585b08f /modules
parentc2f8bc90ffb8f187b5be83c0581a501f6d2879ca (diff)
luci-base: form.js: default to unlimited dropdown size
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/form.js2
1 files changed, 1 insertions, 1 deletions
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)
});