projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sync
[roojs1]
/
Roo
/
bootstrap
/
MoneyField.js
diff --git
a/Roo/bootstrap/MoneyField.js
b/Roo/bootstrap/MoneyField.js
index
378a0a2
..
51c8800
100644
(file)
--- a/
Roo/bootstrap/MoneyField.js
+++ b/
Roo/bootstrap/MoneyField.js
@@
-105,6
+105,13
@@
Roo.extend(Roo.bootstrap.MoneyField, Roo.bootstrap.ComboBox, {
cls: 'hidden-number-input'
};
+ if(
+ this.maxLength &&
+ Number.isInteger(this.maxLength * 1)
+ ) {
+ input.maxlength = this.maxLength;
+ }
+
if (this.name) {
hiddenInput.name = this.name;
}