luci-base: form.js: support placeholders for DynamicList widgets
authorJo-Philipp Wich <jo@mein.io>
Thu, 6 Jun 2019 19:05:34 +0000 (21:05 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 7 Jul 2019 13:36:25 +0000 (15:36 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js

index 0352b7807780a8da08cd5d6ac9808553f3524947..a1bfbdc2b265f0609e4a9a2ab979554f0dac436d 100644 (file)
@@ -1441,6 +1441,7 @@ var CBIDynamicList = CBIValue.extend({
                        sort: this.keylist,
                        optional: this.optional || this.rmempty,
                        datatype: this.datatype,
+                       placeholder: this.placeholder,
                        validate: L.bind(this.validate, this, section_id)
                });