luci-app-vlmcsd: adjust input box (#8316)

This commit is contained in:
Beginner 2021-11-27 03:02:19 +08:00 committed by GitHub
parent c2ed5616ef
commit 226be6c0b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,10 +4,10 @@ s = m:section(TypedSection, "vlmcsd")
s.addremove = false s.addremove = false
s.anonymous = true s.anonymous = true
config = s:option(Value, "config", translate("Config File")) config = s:option(TextValue, "config")
config.description = translate("This file is /etc/vlmcsd/vlmcsd.ini.") config.description = translate("This file is /etc/vlmcsd/vlmcsd.ini.")
config.template = "cbi/tvalue" config.template = "cbi/tvalue"
config.rows = 30 config.rows = 25
config.wrap = "off" config.wrap = "off"
function config.cfgvalue(self, section) function config.cfgvalue(self, section)