mirror of
https://github.com/openwrt/luci.git
synced 2026-08-28 05:46:45 +04:00
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:
@@ -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) ..
|
||||
|
||||
Reference in New Issue
Block a user