mirror of
https://github.com/openwrt/luci.git
synced 2025-12-20 01:10:26 +08: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>
(cherry picked from commit 66d0d6eeda)
This commit is contained in:
@@ -4094,6 +4094,7 @@ const CBIRichListValue = CBIListValue.extend(/** @lends LuCI.form.ListValue.prot
|
||||
size: this.size,
|
||||
sort: this.keylist,
|
||||
widget: this.widget,
|
||||
multiple: this.multiple,
|
||||
optional: this.optional,
|
||||
orientation: this.orientation,
|
||||
select_placeholder: this.select_placeholder || this.placeholder,
|
||||
|
||||
Reference in New Issue
Block a user