projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
102710c
)
Roo/bootstrap/NumberField.js
author
Alan Knowles
<alan@roojs.com>
Wed, 27 Jun 2018 03:12:36 +0000
(11:12 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 27 Jun 2018 03:12:36 +0000
(11:12 +0800)
Roo/bootstrap/NumberField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/NumberField.js
b/Roo/bootstrap/NumberField.js
index
a91bbb2
..
ac2dbb9
100644
(file)
--- a/
Roo/bootstrap/NumberField.js
+++ b/
Roo/bootstrap/NumberField.js
@@
-224,7
+224,7
@@
Roo.extend(Roo.bootstrap.NumberField, Roo.bootstrap.Input, {
this.hiddenEl().dom.value = (v === null || v === undefined ? '' : v);
- this.inputEl().dom.value = Roo.util.Format.number(v, this.decimalPrecision,
+ this.inputEl().dom.value =
v == '' ? '' :
Roo.util.Format.number(v, this.decimalPrecision,
this.thousandsDelimiter || ''
);