diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js index 3123385224..d98c5d9e8b 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js @@ -406,6 +406,7 @@ return view.extend({ o = s.taboption('general', form.ListValue, 'target', _('Action')); o.modalonly = true; o.default = 'ACCEPT'; + o.rmempty = false; o.value('DROP', _('drop')); o.value('ACCEPT', _('accept')); o.value('REJECT', _('reject')); diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js index faa40cbbc3..ae78fb1867 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js @@ -160,8 +160,11 @@ return view.extend({ } p[0].default = fwDefaults.getInput(); + p[0].rmempty = false; p[1].default = fwDefaults.getOutput(); + p[1].rmempty = false; p[2].default = fwDefaults.getForward(); + p[2].rmempty = false; o = s.taboption('general', form.Flag, 'masq', _('IPv4 Masquerading'), _('Enable network address and port translation IPv4 (NAT4 or NAPT4) for outbound traffic on this zone. This is typically enabled on the wan zone.'));