mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 19:14:34 +04:00
luci-base: propagate the multiple flag for RichListValue
This allows disabling selection of multiple entries by removing all checkboxes from the dropdown list. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
@@ -4094,6 +4094,7 @@ const CBIRichListValue = CBIListValue.extend(/** @lends LuCI.form.ListValue.prot
|
|||||||
size: this.size,
|
size: this.size,
|
||||||
sort: this.keylist,
|
sort: this.keylist,
|
||||||
widget: this.widget,
|
widget: this.widget,
|
||||||
|
multiple: this.multiple,
|
||||||
optional: this.optional,
|
optional: this.optional,
|
||||||
orientation: this.orientation,
|
orientation: this.orientation,
|
||||||
select_placeholder: this.select_placeholder || this.placeholder,
|
select_placeholder: this.select_placeholder || this.placeholder,
|
||||||
|
|||||||
Reference in New Issue
Block a user