From 7f7feb0c919329574f0aebabb0d000f387d6186a Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 2 Dec 2022 16:59:09 +0100 Subject: [PATCH] Fix DHCP menu --- .../htdocs/luci-static/resources/view/network/dhcp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index bbafc8c7b..6bd6c7d8e 100644 --- a/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -519,7 +519,7 @@ return view.extend({ so.value(ipv4, ipaddrs[ipv4] ? '%s (%s)'.format(ipv4, ipaddrs[ipv4]) : ipv4); }); - so = ss.options(form.value, 'gw', _('Gateway IPv4 Address')); + so = ss.option(form.value, 'gw', _('Gateway IPv4 Address')); so.rmempty = true; so.datatype = 'or(ip4addr,"ignore")'; Object.keys(hosts).forEach(function(mac) {