luci-base: fix cbi mvalue templates
Fixes: 9c7eb1dec
("luci-base: switch from server side to client side widget markup")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
875a96f653
commit
2a229e50cf
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
<%+cbi/valueheader%>
|
<%+cbi/valueheader%>
|
||||||
<div<%=attr("data-ui-widget", luci.util.serialize_json({
|
<div<%=attr("data-ui-widget", luci.util.serialize_json({
|
||||||
"Select", self:cfgvalues(section), self:choices(), {
|
"Select", self:cfgvalue(section) or self.default, self:choices(), {
|
||||||
id = cbid,
|
id = cbid,
|
||||||
name = cbid,
|
name = cbid,
|
||||||
size = self.size,
|
size = self.size,
|
||||||
|
|
Loading…
Reference in a new issue