libs/cbi: Pass default values from UVL
This commit is contained in:
parent
b02fe4b480
commit
8af9060efd
1 changed files with 1 additions and 0 deletions
|
@ -838,6 +838,7 @@ function AbstractValue.__init__(self, map, section, option, ...)
|
||||||
self.cast = (vs.type == "list") and "list" or "string"
|
self.cast = (vs.type == "list") and "list" or "string"
|
||||||
self.title = self.title or vs.title
|
self.title = self.title or vs.title
|
||||||
self.description = self.description or vs.descr
|
self.description = self.description or vs.descr
|
||||||
|
self.default = vs.default
|
||||||
|
|
||||||
if vs.depends and not self.override_dependencies then
|
if vs.depends and not self.override_dependencies then
|
||||||
for i, deps in ipairs(vs.depends) do
|
for i, deps in ipairs(vs.depends) do
|
||||||
|
|
Loading…
Reference in a new issue