diff options
Diffstat (limited to 'applications/luci-app-dockerman/luasrc/model/cbi/dockerman')
-rw-r--r-- | applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua index f826f2633f..e28343f1a7 100644 --- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua +++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua @@ -109,7 +109,9 @@ o:depends("remote_endpoint", 1) o = s:option(Value, "remote_port", translate("Remote Port")) o.placeholder = "2375" -o.default = "2375" +o.datatype = "port" +o.rmempty = false +o.optional = false o:depends("remote_endpoint", 1) if nixio.fs.access("/usr/bin/dockerd") then |