From f84def700493d8fedd9e35037e75d7a67e9ef262 Mon Sep 17 00:00:00 2001
From: systemcrash args array beginning with
diff --git a/jsapi/LuCI.dom.html b/jsapi/LuCI.dom.html
index 5656b9c1b7..9c0a74ab26 100644
--- a/jsapi/LuCI.dom.html
+++ b/jsapi/LuCI.dom.html
@@ -625,6 +625,8 @@
Members
+
key value is used as captio
@@ -7695,7 +7699,7 @@ before it is written.
diff --git a/jsapi/LuCI.form.DynamicList.html b/jsapi/LuCI.form.DynamicList.html
index cf69a1de0c..bcf2e69b3b 100644
--- a/jsapi/LuCI.form.DynamicList.html
+++ b/jsapi/LuCI.form.DynamicList.html
@@ -625,6 +625,8 @@
Members
+ Allows the underlying form controls to have multiple identical values.
+Default is null. If true, the underlying form value will
+not be checked for duplication.
LuCI.ui.Select
@@ -7386,7 +7390,7 @@ was neither a string nor a function.
@@ -7721,7 +7725,7 @@ before it is written.
diff --git a/jsapi/LuCI.form.Map.html b/jsapi/LuCI.form.Map.html
index a1e6c80e37..8e481db1d6 100644
--- a/jsapi/LuCI.form.Map.html
+++ b/jsapi/LuCI.form.Map.html
@@ -625,6 +625,8 @@
Members
+ size property is used or -1 when size
+ Allows the underlying form controls to have multiple identical values.
+Default is null. If true, the underlying form value will
+not be checked for duplication.
LuCI.form.ListValue<
@@ -7538,7 +7542,7 @@ was neither a string nor a function.
@@ -7873,7 +7877,7 @@ before it is written.
diff --git a/jsapi/LuCI.form.SectionValue.html b/jsapi/LuCI.form.SectionValue.html
index 150fbb2452..5be0a19092 100644
--- a/jsapi/LuCI.form.SectionValue.html
+++ b/jsapi/LuCI.form.SectionValue.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -3665,7 +3669,7 @@ element container, allowing to nest form sections into other sections.
@@ -5109,7 +5113,7 @@ within the given specific section.
@@ -5505,7 +5509,7 @@ argument, this parameter is ignored.
@@ -6303,7 +6307,7 @@ returns false.
@@ -6486,7 +6490,7 @@ so it may return promises if overridden by user code.
@@ -6637,7 +6641,7 @@ validation constraints.
@@ -7280,7 +7284,7 @@ was neither a string nor a function.
@@ -7426,7 +7430,7 @@ or a plain text string. If omitted, the key value is used as captio
@@ -7577,7 +7581,7 @@ its write() implementation is a no-op.
diff --git a/jsapi/LuCI.form.TableSection.html b/jsapi/LuCI.form.TableSection.html
index b262ddda4d..a8d067aaab 100644
--- a/jsapi/LuCI.form.TableSection.html
+++ b/jsapi/LuCI.form.TableSection.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -7110,7 +7114,7 @@ was neither a string nor a function.
diff --git a/jsapi/LuCI.form.TextValue.html b/jsapi/LuCI.form.TextValue.html
index cdd780c0c9..9205804fad 100644
--- a/jsapi/LuCI.form.TextValue.html
+++ b/jsapi/LuCI.form.TextValue.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -3665,7 +3669,7 @@
@@ -7593,7 +7597,7 @@ before it is written.
diff --git a/jsapi/LuCI.form.TypedSection.html b/jsapi/LuCI.form.TypedSection.html
index e77a220c87..c2b6935458 100644
--- a/jsapi/LuCI.form.TypedSection.html
+++ b/jsapi/LuCI.form.TypedSection.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -6799,7 +6803,7 @@ was neither a string nor a function.
diff --git a/jsapi/LuCI.form.Value.html b/jsapi/LuCI.form.Value.html
index e6a3d090bf..d8b4876145 100644
--- a/jsapi/LuCI.form.Value.html
+++ b/jsapi/LuCI.form.Value.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -7652,7 +7656,7 @@ before it is written.
diff --git a/jsapi/LuCI.form.html b/jsapi/LuCI.form.html
index 1daa8dc241..008220df8f 100644
--- a/jsapi/LuCI.form.html
+++ b/jsapi/LuCI.form.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -3695,7 +3699,7 @@ m.render().then((node) => {
@@ -3851,7 +3855,7 @@ m.render().then((node) => {
diff --git a/jsapi/LuCI.fs.html b/jsapi/LuCI.fs.html
index 30bcbe999c..fe8078de0a 100644
--- a/jsapi/LuCI.fs.html
+++ b/jsapi/LuCI.fs.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -6037,7 +6041,7 @@ the failure reason.
diff --git a/jsapi/LuCI.headers.html b/jsapi/LuCI.headers.html
index 51499980ef..768ec64d46 100644
--- a/jsapi/LuCI.headers.html
+++ b/jsapi/LuCI.headers.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -4053,7 +4057,7 @@ Note: Header-Names are case-insensitive.
diff --git a/jsapi/LuCI.html b/jsapi/LuCI.html
index ae1a282a1d..c66f7eb0e8 100644
--- a/jsapi/LuCI.html
+++ b/jsapi/LuCI.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -8629,7 +8633,7 @@ else null.
diff --git a/jsapi/LuCI.network.Device.html b/jsapi/LuCI.network.Device.html
index c81dd0b4cd..f60f66ad0b 100644
--- a/jsapi/LuCI.network.Device.html
+++ b/jsapi/LuCI.network.Device.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -6418,7 +6422,7 @@ when it is down or absent.
diff --git a/jsapi/LuCI.network.Hosts.html b/jsapi/LuCI.network.Hosts.html
index 4bf336471c..684d17ee72 100644
--- a/jsapi/LuCI.network.Hosts.html
+++ b/jsapi/LuCI.network.Hosts.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -4979,7 +4983,7 @@ is used as hint.
diff --git a/jsapi/LuCI.network.Protocol.html b/jsapi/LuCI.network.Protocol.html
index 17ad394901..5bb8466887 100644
--- a/jsapi/LuCI.network.Protocol.html
+++ b/jsapi/LuCI.network.Protocol.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -8315,7 +8319,7 @@ configuration.
diff --git a/jsapi/LuCI.network.WifiDevice.html b/jsapi/LuCI.network.WifiDevice.html
index 909fcd65ac..fec7c36d04 100644
--- a/jsapi/LuCI.network.WifiDevice.html
+++ b/jsapi/LuCI.network.WifiDevice.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -5356,7 +5360,7 @@ configuration.
diff --git a/jsapi/LuCI.network.WifiNetwork.html b/jsapi/LuCI.network.WifiNetwork.html
index b0a5360363..c8bdac7ae7 100644
--- a/jsapi/LuCI.network.WifiNetwork.html
+++ b/jsapi/LuCI.network.WifiNetwork.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -7940,7 +7944,7 @@ configuration.
diff --git a/jsapi/LuCI.network.html b/jsapi/LuCI.network.html
index ff393ed41c..9f79ed450f 100644
--- a/jsapi/LuCI.network.html
+++ b/jsapi/LuCI.network.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -9883,7 +9887,7 @@ conjunction with quality to calculate a quality percentage.
- Documentation generated by JSDoc 3.6.11 on Tue Jan 14 2025 16:20:18 GMT+0000 (Coordinated Universal Time)
+ Documentation generated by JSDoc 3.6.11 on Wed Jan 22 2025 17:37:03 GMT+0000 (Coordinated Universal Time)
diff --git a/jsapi/LuCI.poll.html b/jsapi/LuCI.poll.html
index f7e4f86bae..93d5cadb1f 100644
--- a/jsapi/LuCI.poll.html
+++ b/jsapi/LuCI.poll.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -4436,7 +4440,7 @@ run to begin with.
diff --git a/jsapi/LuCI.request.html b/jsapi/LuCI.request.html
index 3338666d83..0539ab065c 100644
--- a/jsapi/LuCI.request.html
+++ b/jsapi/LuCI.request.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -5371,7 +5375,7 @@ instances as sole argument during the HTTP request transfer.
diff --git a/jsapi/LuCI.request.poll.html b/jsapi/LuCI.request.poll.html
index 4f9f9605cd..d1b2f5e323 100644
--- a/jsapi/LuCI.request.poll.html
+++ b/jsapi/LuCI.request.poll.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -4555,7 +4559,7 @@ else null.
diff --git a/jsapi/LuCI.response.html b/jsapi/LuCI.response.html
index 7ddef7c000..1300db0531 100644
--- a/jsapi/LuCI.response.html
+++ b/jsapi/LuCI.response.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -4513,7 +4517,7 @@ using String() and treated as response text.
diff --git a/jsapi/LuCI.rpc.html b/jsapi/LuCI.rpc.html
index 08fde210dc..4b25677700 100644
--- a/jsapi/LuCI.rpc.html
+++ b/jsapi/LuCI.rpc.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -5844,7 +5848,7 @@ to the expect and filter declarations.
diff --git a/jsapi/LuCI.session.html b/jsapi/LuCI.session.html
index 0b53a489ba..270cf25315 100644
--- a/jsapi/LuCI.session.html
+++ b/jsapi/LuCI.session.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -4283,7 +4287,7 @@ being put in the session store.
diff --git a/jsapi/LuCI.uci.html b/jsapi/LuCI.uci.html
index 47c641d48c..77184d65dc 100644
--- a/jsapi/LuCI.uci.html
+++ b/jsapi/LuCI.uci.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -7600,7 +7604,7 @@ associated name as arguments.
diff --git a/jsapi/LuCI.ui.AbstractElement.html b/jsapi/LuCI.ui.AbstractElement.html
index fa0ff2dff2..eb86355770 100644
--- a/jsapi/LuCI.ui.AbstractElement.html
+++ b/jsapi/LuCI.ui.AbstractElement.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -5387,7 +5391,7 @@ and are displayed in a slightly faded style.
diff --git a/jsapi/LuCI.ui.Checkbox.html b/jsapi/LuCI.ui.Checkbox.html
index 975f862373..8fb81b8063 100644
--- a/jsapi/LuCI.ui.Checkbox.html
+++ b/jsapi/LuCI.ui.Checkbox.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -5501,7 +5505,7 @@ it is required for HTML based form submissions.
diff --git a/jsapi/LuCI.ui.ComboButton.html b/jsapi/LuCI.ui.ComboButton.html
index e2015cee7d..86e3211ce5 100644
--- a/jsapi/LuCI.ui.ComboButton.html
+++ b/jsapi/LuCI.ui.ComboButton.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -5531,7 +5535,7 @@ choice value as second argument.
diff --git a/jsapi/LuCI.ui.Combobox.html b/jsapi/LuCI.ui.Combobox.html
index af12ccb62c..6eb8aa2e83 100644
--- a/jsapi/LuCI.ui.Combobox.html
+++ b/jsapi/LuCI.ui.Combobox.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -5434,7 +5438,7 @@ forcibly set to true.
diff --git a/jsapi/LuCI.ui.Dropdown.html b/jsapi/LuCI.ui.Dropdown.html
index 9ec1f5ffbc..5a67649fd4 100644
--- a/jsapi/LuCI.ui.Dropdown.html
+++ b/jsapi/LuCI.ui.Dropdown.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -6232,7 +6236,7 @@ expression. Only applicable when create is true.
diff --git a/jsapi/LuCI.ui.DynamicList.html b/jsapi/LuCI.ui.DynamicList.html
index 5c72094f8e..ffffb9e054 100644
--- a/jsapi/LuCI.ui.DynamicList.html
+++ b/jsapi/LuCI.ui.DynamicList.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -3903,7 +3907,7 @@ arbitrary values to the dynamic list.
@@ -4047,7 +4051,7 @@ as label text. Choice labels may be any valid value accepted by
@@ -4223,7 +4227,7 @@ as label text. Choice labels may be any valid value accepted by
@@ -5258,7 +5262,7 @@ trigger input value validation.
@@ -5609,7 +5613,7 @@ it to remain unselected.
diff --git a/jsapi/LuCI.ui.FileUpload.html b/jsapi/LuCI.ui.FileUpload.html
index bfdb9b915c..54f032c438 100644
--- a/jsapi/LuCI.ui.FileUpload.html
+++ b/jsapi/LuCI.ui.FileUpload.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -3672,7 +3676,7 @@ external JavaScript, use L.require("ui").then(...) and ac
@@ -3969,7 +3973,7 @@ upload control.
@@ -4460,7 +4464,7 @@ registered.
@@ -5004,7 +5008,7 @@ trigger input value validation.
@@ -5532,7 +5536,7 @@ ACL setup for the current session.
diff --git a/jsapi/LuCI.ui.Hiddenfield.html b/jsapi/LuCI.ui.Hiddenfield.html
index bd7b5b0cb1..4bc7b430a5 100644
--- a/jsapi/LuCI.ui.Hiddenfield.html
+++ b/jsapi/LuCI.ui.Hiddenfield.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -3672,7 +3676,7 @@ external JavaScript, use L.require("ui").then(...) and ac
@@ -3968,7 +3972,7 @@ external JavaScript, use L.require("ui").then(...) and ac
@@ -4459,7 +4463,7 @@ registered.
@@ -5003,7 +5007,7 @@ trigger input value validation.
@@ -5212,7 +5216,7 @@ trigger validation runs, e.g. when programmatically altering values.
diff --git a/jsapi/LuCI.ui.Select.html b/jsapi/LuCI.ui.Select.html
index 1e997cdf31..4bfeed7f68 100644
--- a/jsapi/LuCI.ui.Select.html
+++ b/jsapi/LuCI.ui.Select.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -5564,7 +5568,7 @@ selected yet. Only applicable to the select widget type.
diff --git a/jsapi/LuCI.ui.Textarea.html b/jsapi/LuCI.ui.Textarea.html
index f6c88ca7d2..4281e44209 100644
--- a/jsapi/LuCI.ui.Textarea.html
+++ b/jsapi/LuCI.ui.Textarea.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -5510,7 +5514,7 @@ contents.
diff --git a/jsapi/LuCI.ui.Textfield.html b/jsapi/LuCI.ui.Textfield.html
index 9500054115..7c844042ae 100644
--- a/jsapi/LuCI.ui.Textfield.html
+++ b/jsapi/LuCI.ui.Textfield.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -5438,7 +5442,7 @@ corresponding <input> element is empty.
diff --git a/jsapi/LuCI.ui.changes.html b/jsapi/LuCI.ui.changes.html
index 8d5b021b9d..3725b7a124 100644
--- a/jsapi/LuCI.ui.changes.html
+++ b/jsapi/LuCI.ui.changes.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -3669,7 +3673,7 @@ external JavaScript, use L.require("ui").then(...) and ac
@@ -3754,7 +3758,7 @@ external JavaScript, use L.require("ui").then(...) and ac
@@ -3895,7 +3899,7 @@ settings.
@@ -3968,7 +3972,7 @@ and offer options to revert or apply the shown changes.
@@ -4086,7 +4090,7 @@ UCI changeset structure.
@@ -4162,7 +4166,7 @@ complete.
@@ -4290,7 +4294,7 @@ is removed.
diff --git a/jsapi/LuCI.ui.html b/jsapi/LuCI.ui.html
index 6a4ce22fb3..261e6cf79b 100644
--- a/jsapi/LuCI.ui.html
+++ b/jsapi/LuCI.ui.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -3666,7 +3670,7 @@ external JavaScript, use L.require("ui").then(...).
@@ -3797,7 +3801,7 @@ external JavaScript, use L.require("ui").then(...).
@@ -4059,7 +4063,7 @@ banner element.
@@ -4373,7 +4377,7 @@ field validation manually or to bind it to further events.
@@ -4510,7 +4514,7 @@ default.
@@ -4736,7 +4740,7 @@ valid function value.
@@ -4884,7 +4888,7 @@ requested indicator was not found.
@@ -4960,7 +4964,7 @@ handler as-is without the need to bind it first.
@@ -5112,7 +5116,7 @@ caught and rendered using LuCI.error()
- ui.js, line 4045
+ ui.js, line 4046
@@ -5354,7 +5358,7 @@ accepted by LuCI.dom.content().
@@ -5557,7 +5561,7 @@ or rejecting with null when the connectivity check timed out.
@@ -5831,7 +5835,7 @@ changes were made.
@@ -6060,7 +6064,7 @@ element.
@@ -6418,7 +6422,7 @@ cancelled by the user.
diff --git a/jsapi/LuCI.ui.menu.html b/jsapi/LuCI.ui.menu.html
index f389c47094..9d5a9efad3 100644
--- a/jsapi/LuCI.ui.menu.html
+++ b/jsapi/LuCI.ui.menu.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -3664,7 +3668,7 @@
@@ -3753,7 +3757,7 @@
@@ -3825,7 +3829,7 @@ next page load.
@@ -3974,7 +3978,7 @@ internal root node if omitted.
@@ -4337,7 +4341,7 @@ internal root node if omitted.
diff --git a/jsapi/LuCI.ui.tabs.html b/jsapi/LuCI.ui.tabs.html
index 091b581f05..4087b0d7f7 100644
--- a/jsapi/LuCI.ui.tabs.html
+++ b/jsapi/LuCI.ui.tabs.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -3670,7 +3674,7 @@ external JavaScript, use L.require("ui").then(...) and ac
@@ -3755,7 +3759,7 @@ external JavaScript, use L.require("ui").then(...) and ac
@@ -3884,7 +3888,7 @@ DOM node.
@@ -4037,7 +4041,7 @@ DOM node.
diff --git a/jsapi/LuCI.view.html b/jsapi/LuCI.view.html
index 8f3f945626..2793a50142 100644
--- a/jsapi/LuCI.view.html
+++ b/jsapi/LuCI.view.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -4641,7 +4645,7 @@ to a Node value.
diff --git a/jsapi/LuCI.xhr.html b/jsapi/LuCI.xhr.html
index d8e954cf64..c063415a2b 100644
--- a/jsapi/LuCI.xhr.html
+++ b/jsapi/LuCI.xhr.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -4605,7 +4609,7 @@ when invoked.
diff --git a/jsapi/form.js.html b/jsapi/form.js.html
index f9c5134e3d..96550fcf40 100644
--- a/jsapi/form.js.html
+++ b/jsapi/form.js.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -7503,6 +7507,17 @@ const CBIValue = CBIAbstractValue.extend(/** @lends LuCI.form.Value.prototype */
const CBIDynamicList = CBIValue.extend(/** @lends LuCI.form.DynamicList.prototype */ {
__name__: 'CBI.DynamicList',
+ /**
+ * Allows the underlying form controls to have multiple identical values.
+ *
+ * Default is `null`. If `true`, the underlying form value will
+ * not be checked for duplication.
+ *
+ * @name LuCI.form.DynamicList.prototype#allowduplicates
+ * @type boolean
+ * @default null
+ */
+
/** @private */
renderWidget(section_id, option_index, cfgvalue) {
const value = (cfgvalue != null) ? cfgvalue : this.default;
@@ -7512,6 +7527,7 @@ const CBIDynamicList = CBIValue.extend(/** @lends LuCI.form.DynamicList.prototyp
const widget = new ui.DynamicList(items, choices, {
id: this.cbid(section_id),
sort: this.keylist,
+ allowduplicates: this.allowduplicates,
optional: this.optional || this.rmempty,
datatype: this.datatype,
placeholder: this.placeholder,
@@ -8686,7 +8702,7 @@ return baseclass.extend(/** @lends LuCI.form.prototype */ {
diff --git a/jsapi/fs.js.html b/jsapi/fs.js.html
index 65fa1e2aa0..7c66747562 100644
--- a/jsapi/fs.js.html
+++ b/jsapi/fs.js.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -4079,7 +4083,7 @@ return FileSystem;
diff --git a/jsapi/index.html b/jsapi/index.html
index fbdce6ef81..8f6cf3e9a3 100644
--- a/jsapi/index.html
+++ b/jsapi/index.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -3666,7 +3670,7 @@ is the central JSDoc 3.6.11 on Tue Jan 14 2025 16:20:18 GMT+0000 (Coordinated Universal Time)
+ Documentation generated by JSDoc 3.6.11 on Wed Jan 22 2025 17:37:02 GMT+0000 (Coordinated Universal Time)
diff --git a/jsapi/luci.js.html b/jsapi/luci.js.html
index b938a0a1cf..c9514597c7 100644
--- a/jsapi/luci.js.html
+++ b/jsapi/luci.js.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -7074,7 +7078,7 @@
diff --git a/jsapi/network.js.html b/jsapi/network.js.html
index 2b58ddb8bd..4c282d2d1b 100644
--- a/jsapi/network.js.html
+++ b/jsapi/network.js.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -8089,7 +8093,7 @@ return Network;
diff --git a/jsapi/rpc.js.html b/jsapi/rpc.js.html
index 8a2629667d..a977cc7d8e 100644
--- a/jsapi/rpc.js.html
+++ b/jsapi/rpc.js.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -4135,7 +4139,7 @@ return baseclass.extend(/** @lends LuCI.rpc.prototype */ {
diff --git a/jsapi/uci.js.html b/jsapi/uci.js.html
index 2caed98e5f..27235907b4 100644
--- a/jsapi/uci.js.html
+++ b/jsapi/uci.js.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -4675,7 +4679,7 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ {
diff --git a/jsapi/ui.js.html b/jsapi/ui.js.html
index 6ef28cef25..ce26cea31c 100644
--- a/jsapi/ui.js.html
+++ b/jsapi/ui.js.html
@@ -625,6 +625,8 @@
Members
+ allowduplicates
+
datatype
default
@@ -1307,6 +1309,8 @@
dropdown_size
+ allowduplicates
+
datatype
default
@@ -6064,7 +6068,7 @@ const UIDynamicList = UIElement.extend(/** @lends LuCI.ui.DynamicList.prototype
exists = true;
});
- if (!exists) {
+ if (this.options.allowduplicates || !exists) {
const ai = dl.querySelector('.add-item');
ai.parentNode.insertBefore(new_item, ai);
}
@@ -6145,7 +6149,8 @@ const UIDynamicList = UIElement.extend(/** @lends LuCI.ui.DynamicList.prototype
return;
sbIn.setValues(sbEl, null);
- sbVal.element.setAttribute('unselectable', '');
+ if (!this.options.allowduplicates)
+ sbVal.element.setAttribute('unselectable', '');
if (sbVal.element.hasAttribute('created')) {
sbVal.element.removeAttribute('created');
@@ -8796,7 +8801,7 @@ return UI;
--
2.30.2