git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
c937c7f
)
luci-base: propagate the multiple flag for RichListValue
author
Paul Donald
<redacted>
Sat, 13 Dec 2025 17:58:45 +0000
(18:58 +0100)
committer
Paul Donald
<redacted>
Sat, 13 Dec 2025 17:58:45 +0000
(18:58 +0100)
This allows disabling selection of multiple entries by removing all
checkboxes from the dropdown list.
Signed-off-by: Paul Donald <redacted>
modules/luci-base/htdocs/luci-static/resources/form.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/form.js
b/modules/luci-base/htdocs/luci-static/resources/form.js
index c7308e2fbabc483e9ad4b9654dfa1bdba6dcfc04..f2f497a1fa0704ffb8b61b092493701558cb0464 100644
(file)
--- 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,
git clone https://git.99rst.org/PROJECT