diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-07-27 22:17:33 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-07-27 22:33:36 +0200 |
commit | 2d3470b700237f1c71138c085a4f73c7a809d1a0 (patch) | |
tree | a52331429a04a17ff7c36e159ebe3c4568e3ee66 /modules/luci-base/luasrc/view | |
parent | b949c0262431c74b0a5f0c426d878207f1d2742a (diff) |
luci-base: don't treat .rmempty flag as optional for ListValue widgets
Restore the old CBI behaviour of not automatically rendering empty
selection choices in ListValue select dropdowns when .rmempty is
specified.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/luasrc/view')
-rw-r--r-- | modules/luci-base/luasrc/view/cbi/lvalue.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/lvalue.htm b/modules/luci-base/luasrc/view/cbi/lvalue.htm index 920b5e9f9..28141472f 100644 --- a/modules/luci-base/luasrc/view/cbi/lvalue.htm +++ b/modules/luci-base/luasrc/view/cbi/lvalue.htm @@ -7,7 +7,7 @@ sort = self.keylist, widget = self.widget, datatype = self.datatype, - optional = self.optional or self.rmempty, + optional = self.optional, placeholder = self.placeholder } }))%>></div> |