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>
Signed-off-by: sbwml <admin@cooluc.com>
This commit is contained in:
Paul Donald
2026-04-19 17:13:06 +08:00
committed by sbwml
parent a081876f33
commit c9e0285618
@@ -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'));