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

index 51c8800..8042ba0 100644 (file)
@@ -106,10 +106,10 @@ Roo.extend(Roo.bootstrap.MoneyField, Roo.bootstrap.ComboBox, {
         };
         
         if(
-            this.maxLength &&
-            Number.isInteger(this.maxLength * 1)
+            this.max_length &&
+            Number.isInteger(this.max_length * 1)
         ) {
-            input.maxlength = this.maxLength; 
+            input.maxlength = this.max_length; 
         }
         
         if (this.name) {