Merge pull request #2923 from tano-systems/pr/multi-fix

luci-base: fix multiple parameter in cbi templates
This commit is contained in:
Jo-Philipp Wich 2019-07-27 20:21:08 +02:00 committed by GitHub
commit b949c02624
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
id = cbid, id = cbid,
name = cbid, name = cbid,
sort = self.keylist, sort = self.keylist,
multi = self.multiple, multiple = self.multiple,
datatype = self.datatype, datatype = self.datatype,
optional = self.optional or self.rmempty, optional = self.optional or self.rmempty,
readonly = self.readonly, readonly = self.readonly,

View file

@ -13,7 +13,7 @@
name = cbid, name = cbid,
size = self.size, size = self.size,
sort = self.keylist, sort = self.keylist,
multi = true, multiple = true,
widget = self.widget, widget = self.widget,
datatype = self.datatype, datatype = self.datatype,
optional = self.optional or self.rmempty, optional = self.optional or self.rmempty,