luci-base: cbi: fix dependency handling of list and multivalues with radio/checkbox widgets
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
parent
1f4f828503
commit
385a49277a
@ -21,7 +21,7 @@
|
||||
<%- end %>
|
||||
</select>
|
||||
<% elseif self.widget == "radio" then %>
|
||||
<div<%= attr("id", cbid) %>>
|
||||
<div>
|
||||
<% for i, key in pairs(self.keylist) do %>
|
||||
<label<%=
|
||||
attr("id", cbid.."-"..key) ..
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
<%- end %>
|
||||
</select>
|
||||
<% elseif self.widget == "checkbox" then %>
|
||||
<div<%= attr("id", cbid) %>>
|
||||
<div>
|
||||
<% for i, key in pairs(self.keylist) do %>
|
||||
<label<%=
|
||||
attr("id", cbid.."-"..key) ..
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user