From: Paul Donald Date: Sat, 13 Dec 2025 17:58:45 +0000 (+0100) Subject: luci-base: propagate the multiple flag for RichListValue X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=66d0d6eeda9774f35b1b21f068668e94801d5e23;p=openwrt-luci.git 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 --- diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index c7308e2fba..f2f497a1fa 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -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,