projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1612631
)
Roo/bootstrap/NumberField.js
author
john
<john@roojs.com>
Mon, 25 Jun 2018 09:09:34 +0000
(17:09 +0800)
committer
john
<john@roojs.com>
Mon, 25 Jun 2018 09:09:34 +0000
(17:09 +0800)
Roo/bootstrap/NumberField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/NumberField.js
b/Roo/bootstrap/NumberField.js
index
941bfd1
..
4312964
100644
(file)
--- a/
Roo/bootstrap/NumberField.js
+++ b/
Roo/bootstrap/NumberField.js
@@
-217,7
+217,7
@@
Roo.extend(Roo.bootstrap.NumberField, Roo.bootstrap.Input, {
if(this.rendered){
- this.hiddenEl().dom.value = (v === null || v === undefined ? '' : v);
+ this.hiddenEl().dom.value = (v === null || v === undefined
|| v == 0
? '' : v);
this.inputEl().dom.value = Roo.util.Format.number(v, this.decimalPrecision,
this.thousandsDelimiter || ''