projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0bdfce
)
Roo/form/Field.js
author
Edward
<edward@roojs.com>
Mon, 3 Sep 2018 05:27:19 +0000
(13:27 +0800)
committer
Edward
<edward@roojs.com>
Mon, 3 Sep 2018 05:27:19 +0000
(13:27 +0800)
Roo/form/Field.js
patch
|
blob
|
history
diff --git
a/Roo/form/Field.js
b/Roo/form/Field.js
index
fa2fb79
..
8baa2c7
100644
(file)
--- a/
Roo/form/Field.js
+++ b/
Roo/form/Field.js
@@
-293,8
+293,8
@@
side Add an error icon to the right of the field with a popup on hover
* Resets the current field value to the originally loaded value and clears any validation messages
*/
reset : function(){
- this.originalValue = this.resetValue;
this.setValue(this.resetValue);
+ this.originalValue = this.getValue();
this.clearInvalid();
},