luci-base: form.js: default to unlimited dropdown size

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2019-05-28 15:31:26 +02:00
parent c2f8bc90ff
commit f302eabd72

View file

@ -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)
});