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:
a88d4af
)
luci-base: Enforce maximal firewall zone length in the Create / Assign scenario as...
author
Jan Pazdziora
<redacted>
Thu, 9 Jan 2025 20:00:55 +0000
(21:00 +0100)
committer
Paul Donald
<redacted>
Fri, 10 Jan 2025 14:41:58 +0000
(15:41 +0100)
Signed-off-by: Jan Pazdziora <redacted>
modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
b/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
index 0ba07afcde8acd848d60b0b5b6df91d5d8da3602..4c9cd6924e06ce80505c755011b8f412d1ea44c3 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
@@
-148,6
+148,7
@@
var CBIZoneSelect = form.ListValue.extend({
display_items: this.display_size || this.size || 3,
dropdown_items: this.dropdown_size || this.size || 5,
validate: L.bind(this.validate, this, section_id),
+ datatype: 'and(uciname,maxlength(11))',
create: !this.nocreate,
create_markup: '' +
'<li data-value="{{value}}">' +
git clone https://git.99rst.org/PROJECT