diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-05-28 15:31:26 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-07-07 15:36:25 +0200 |
commit | f302eabd728a02c62b96ec12295201b658313698 (patch) | |
tree | c635c20229fa13d42cbb49d38bf7b6ade585b08f /modules/luci-base | |
parent | c2f8bc90ffb8f187b5be83c0581a501f6d2879ca (diff) |
luci-base: form.js: default to unlimited dropdown size
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/form.js | 2 |
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 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) }); |