From c9e0285618d3a3d2927f10f534d23911326e569c Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Sun, 19 Apr 2026 17:13:06 +0800 Subject: [PATCH] luci-app-dockerman: return true for net validate When all other conditions pass, the function shall return true. Signed-off-by: Paul Donald Signed-off-by: sbwml --- htdocs/luci-static/resources/view/dockerman/container_new.js | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/luci-static/resources/view/dockerman/container_new.js b/htdocs/luci-static/resources/view/dockerman/container_new.js index a2da876..d624ec0 100644 --- a/htdocs/luci-static/resources/view/dockerman/container_new.js +++ b/htdocs/luci-static/resources/view/dockerman/container_new.js @@ -249,6 +249,7 @@ return dm2.dv.extend({ let dnet = this.section.getOption('network').getUIElement(section_id).getValue(); const disallowed = builtInNetworks.has(dnet); if (disallowed) return _('Only for user-defined networks'); + return true; }; o = s.option(form.Value, 'ipv4', _('IPv4 Address'));