mirror of
https://github.com/openwrt/luci.git
synced 2026-06-20 10:01:15 +04:00
luci-app-dockerman: if remote_endpoint is selected a host must be set
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -100,7 +100,9 @@ o.rmempty = false
|
||||
o = s:option(Value, "remote_host",
|
||||
translate("Remote Host"),
|
||||
translate("Host or IP Address for the connection to a remote docker instance"))
|
||||
o.datatype = "host"
|
||||
o.datatype = "host"
|
||||
o.rmempty = false
|
||||
o.optional = false
|
||||
o.placeholder = "10.1.1.2"
|
||||
o:depends("remote_endpoint", 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user