luci-app-dockerman: return true for net validate
authorPaul Donald <redacted>
Fri, 3 Apr 2026 17:01:10 +0000 (19:01 +0200)
committerPaul Donald <redacted>
Fri, 3 Apr 2026 17:01:10 +0000 (19:01 +0200)
When all other conditions pass, the function shall return true.

Signed-off-by: Paul Donald <redacted>
applications/luci-app-dockerman/htdocs/luci-static/resources/view/dockerman/container_new.js

index a2da8767c7fde3e54c9a0b522fe0303fff7aed7e..d624ec0e5062f50b04b6379ae349bb1f231c891c 100644 (file)
@@ -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'));
git clone https://git.99rst.org/PROJECT