mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
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:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user