From f406004c9c6c547918a099241d2f4e56f8180e8e Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 8 Apr 2021 15:21:17 +0200 Subject: [PATCH] luci-app-dockerman: add datatype and detail info for remote_host option Signed-off-by: Florian Eckert --- .../luasrc/model/cbi/dockerman/overview.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 3308d64ac5..51609a6aaf 100644 --- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua +++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua @@ -98,7 +98,9 @@ o = s:option(Flag, "remote_endpoint", o.rmempty = false o = s:option(Value, "remote_host", - translate("Remote Host")) + translate("Remote Host"), + translate("Host or IP Address for the connection to a remote docker instance")) + o.datatype = "host" o.placeholder = "10.1.1.2" o:depends("remote_endpoint", 1) -- 2.30.2