Hi, i have a couple of questions and problems regarding luci/cbi.
.optional = trueactually do for a
Flag/Value, other than
.rmempty = trueand can someone give a example when to use it?
.rmempty = truedo anything for
i cant get the binary depends option to work, the option is always hidden
s:taboption("general", Flag, "disable_netbios", translate("Disable Netbios")):depends("binary", "/usr/sbin/nmbd")
is there a way to get
:dependsworking inside a
template = "cbi/tblsection"section?
I tried to slim down my samba share options, but i cant find a way to dynamically display/hide a option inside a
cbi/tblsection section. I tried to override the
.render function, but than the section looks broken and i'm not sure how to refresh the page correctly in such a case.