Skip to content

Commit 7046a1c

Browse files
committed
luci-base: widgets; remove maximal firewall zone name length datatype
removes a075566 (and subsequent fixes) enforcing a datatype on this widget generates the following error when multiple zones are selected: Expecting: valid UCI identifier (the error triggered for uciname). At its simplest: multiple selections are no longer just a uciname, but multiple thereof. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
1 parent b85628e commit 7046a1c

File tree

1 file changed

+0
-1
lines changed
  • modules/luci-base/htdocs/luci-static/resources/tools

1 file changed

+0
-1
lines changed

modules/luci-base/htdocs/luci-static/resources/tools/widgets.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ var CBIZoneSelect = form.ListValue.extend({
148148
display_items: this.display_size || this.size || 3,
149149
dropdown_items: this.dropdown_size || this.size || 5,
150150
validate: L.bind(this.validate, this, section_id),
151-
datatype: L.hasSystemFeature('firewall4') ? 'uciname' : 'and(uciname,maxlength(11))',
152151
create: !this.nocreate,
153152
create_markup: '' +
154153
'<li data-value="{{value}}">' +

0 commit comments

Comments
 (0)