From 2b2eab104f05610f8b4e7383ba591a0589a2e259 Mon Sep 17 00:00:00 2001 From: john Date: Thu, 18 Oct 2018 12:11:37 +0800 Subject: [PATCH] Roo/bootstrap/MoneyField.js --- Roo/bootstrap/MoneyField.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) { -- 2.39.2