Skip to content

Commit 66d0d6e

Browse files
committed
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 <[email protected]>
1 parent c937c7f commit 66d0d6e

File tree

1 file changed

+1
-0
lines changed
  • modules/luci-base/htdocs/luci-static/resources

1 file changed

+1
-0
lines changed

modules/luci-base/htdocs/luci-static/resources/form.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4094,6 +4094,7 @@ const CBIRichListValue = CBIListValue.extend(/** @lends LuCI.form.ListValue.prot
40944094
size: this.size,
40954095
sort: this.keylist,
40964096
widget: this.widget,
4097+
multiple: this.multiple,
40974098
optional: this.optional,
40984099
orientation: this.orientation,
40994100
select_placeholder: this.select_placeholder || this.placeholder,

0 commit comments

Comments
 (0)