luci-app-dockerman: return true for net validate

When all other conditions pass, the function shall return true.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald
2026-04-03 19:01:10 +02:00
parent a6d95fe11b
commit 3eca54ee2e

View 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'));