Skip to content

Commit

Permalink
luci-base: Enforce maximal firewall zone length in the Create / Assig…
Browse files Browse the repository at this point in the history
…n scenario as well.

Signed-off-by: Jan Pazdziora <[email protected]>
  • Loading branch information
adelton authored and systemcrash committed Jan 10, 2025
1 parent a88d4af commit a075566
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}}">' +
Expand Down

0 comments on commit a075566

Please sign in to comment.