From 795ea2e384d74c9311fee680fe03e9e1e8b89642 Mon Sep 17 00:00:00 2001 From: Slava-Shchipunov Date: Fri, 8 Nov 2024 02:10:33 +0700 Subject: [PATCH] feat: replace proxy string input to textarea --- .../htdocs/luci-static/resources/view/podkop/podkop.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js index b6db9e1..500e88b 100644 --- a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js +++ b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js @@ -20,8 +20,9 @@ return view.extend({ o.value('vpn', ('VPN')); o.value('proxy', ('Proxy')); - o = s.taboption('main', form.Value, 'proxy_string', _('Proxy String'), _('String vless:// or ss://')); + o = s.taboption('main', form.TextValue, 'proxy_string', _('Proxy String'), _('String vless:// or ss://')); o.depends('mode', 'proxy'); + o .rows = 5; // Get all interface o = s.taboption('main', form.ListValue, 'interface', _('Interface'), _('Specify the interface'));