diff options
-rw-r--r-- | libs/web/luasrc/view/cbi/network_netlist.htm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/web/luasrc/view/cbi/network_netlist.htm b/libs/web/luasrc/view/cbi/network_netlist.htm index 8013f2cc08..7e23d149a8 100644 --- a/libs/web/luasrc/view/cbi/network_netlist.htm +++ b/libs/web/luasrc/view/cbi/network_netlist.htm @@ -8,6 +8,8 @@ local networks = nwm:get_networks() local value = self:formvalue(section) + self.cast = nil + if not value or value == "-" then value = self:cfgvalue(section) or self.default end |