File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
core/src/main/resources/lib/form Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,20 @@ THE SOFTWARE.
62
62
If @field is specified, this will be inferred automatically,
63
63
which is the recommended approach.
64
64
</st : attribute >
65
+ <st : attribute name =" onchange" deprecated =" true" >
66
+ Inline JavaScript to execute when the textbox is changed.
67
+ Deprecated because this attribute is incompatible with adding Content-Security-Policy to the Jenkins UI in the future.
68
+ Set 'id' or 'clazz' attributes as appropriate to look up this element in external Javascript files (e.g. adjuncts)
69
+ to add the desired behavior there (DOMContentLoaded event in static forms, Behaviour.specify if this element may be
70
+ dynamically added). See https://github.com/jenkinsci/jenkins/pull/6852 for an example.
71
+ </st : attribute >
72
+ <st : attribute name =" onkeyup" deprecated =" true" >
73
+ Inline JavaScript to execute when the keyup event is fired.
74
+ Deprecated because this attribute is incompatible with adding Content-Security-Policy to the Jenkins UI in the future.
75
+ Set 'id' or 'clazz' attributes as appropriate to look up this element in external Javascript files (e.g. adjuncts)
76
+ to add the desired behavior there (DOMContentLoaded event in static forms, Behaviour.specify if this element may be
77
+ dynamically added). See https://github.com/jenkinsci/jenkins/pull/6852 for an example.
78
+ </st : attribute >
65
79
</st : documentation >
66
80
<f : prepareDatabinding />
67
81
<input class =" jenkins-input ${attrs.checkUrl!=null?'validated':''} ${attrs.clazz}"
You can’t perform that action at this time.
0 commit comments