luci-base: don't treat .rmempty flag as optional for ListValue widgets
authorJo-Philipp Wich <jo@mein.io>
Sat, 27 Jul 2019 20:17:33 +0000 (22:17 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 27 Jul 2019 20:33:36 +0000 (22:33 +0200)
commit2d3470b700237f1c71138c085a4f73c7a809d1a0
treea52331429a04a17ff7c36e159ebe3c4568e3ee66
parentb949c0262431c74b0a5f0c426d878207f1d2742a
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>
modules/luci-base/htdocs/luci-static/resources/form.js
modules/luci-base/htdocs/luci-static/resources/ui.js
modules/luci-base/luasrc/view/cbi/lvalue.htm