Roo/bootstrap/MoneyField.js
authorjohn <john@roojs.com>
Thu, 18 Oct 2018 04:36:57 +0000 (12:36 +0800)
committerjohn <john@roojs.com>
Thu, 18 Oct 2018 04:36:57 +0000 (12:36 +0800)
Roo/bootstrap/MoneyField.js

index d777f72..a7f0b0d 100644 (file)
@@ -108,10 +108,7 @@ Roo.extend(Roo.bootstrap.MoneyField, Roo.bootstrap.ComboBox, {
             cls: 'hidden-number-input'
         };
         
-        if(
-            this.max_length &&
-            Number.isInteger(this.max_length * 1)
-        ) {
+        if(!this.max_length) {
             input.maxlength = this.max_length; 
         }