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:
Paul Donald
2025-12-13 18:58:45 +01:00
parent a09603a210
commit 71d1d0cafe

View File

@@ -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,