projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1482554
)
luci-base: form.js: support placeholders for DynamicList widgets
author
Jo-Philipp Wich
<jo@mein.io>
Thu, 6 Jun 2019 19:05:34 +0000
(21:05 +0200)
committer
Jo-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
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/form.js
b/modules/luci-base/htdocs/luci-static/resources/form.js
index 0352b7807780a8da08cd5d6ac9808553f3524947..a1bfbdc2b265f0609e4a9a2ab979554f0dac436d 100644
(file)
--- 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)
});