From: john Date: Thu, 18 Oct 2018 04:11:37 +0000 (+0800) Subject: Roo/bootstrap/MoneyField.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=2b2eab104f05610f8b4e7383ba591a0589a2e259 Roo/bootstrap/MoneyField.js --- diff --git a/Roo/bootstrap/MoneyField.js b/Roo/bootstrap/MoneyField.js index 51c88004c4..8042ba09c4 100644 --- a/Roo/bootstrap/MoneyField.js +++ b/Roo/bootstrap/MoneyField.js @@ -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) {