diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-06-06 21:05:34 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-07-07 15:36:25 +0200 |
commit | 0539e7f6b9b51b5121a76082d82d3f442695f400 (patch) | |
tree | 5015e72eb6a79492a5c3420ac99304270a8fa6dc /modules/luci-base/htdocs | |
parent | 1482554de6c3ae12d38c6b484d38758d5d8a3b7e (diff) |
luci-base: form.js: support placeholders for DynamicList widgets
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/htdocs')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/form.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 0352b7807..a1bfbdc2b 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) }); |