From 0539e7f6b9b51b5121a76082d82d3f442695f400 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 6 Jun 2019 21:05:34 +0200 Subject: luci-base: form.js: support placeholders for DynamicList widgets Signed-off-by: Jo-Philipp Wich --- modules/luci-base/htdocs/luci-static/resources/form.js | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/luci-base/htdocs/luci-static/resources') diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 0352b78077..a1bfbdc2b2 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -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) }); -- cgit v1.2.3