luci-base: form.js: pass-through placeholder option of CBIListValue
authorJo-Philipp Wich <jo@mein.io>
Mon, 22 Jul 2019 15:19:23 +0000 (17:19 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 26 Jul 2019 08:22:05 +0000 (10:22 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js

index 508e2c485710fec99d72997fd8e38b2f9b6d4f45..58d8f7100c92a2c6ddc0bc7379d1b51870a74f76 100644 (file)
@@ -1461,6 +1461,7 @@ var CBIListValue = CBIValue.extend({
                        size: this.size,
                        sort: this.keylist,
                        optional: this.rmempty || this.optional,
+                       placeholder: this.placeholder,
                        validate: L.bind(this.validate, this, section_id)
                });