Roo/bootstrap/NumberField.js
authorjohn <john@roojs.com>
Thu, 7 Jun 2018 09:11:04 +0000 (17:11 +0800)
committerjohn <john@roojs.com>
Thu, 7 Jun 2018 09:11:04 +0000 (17:11 +0800)
Roo/bootstrap/NumberField.js

index 1f02018..e00f428 100644 (file)
@@ -82,7 +82,9 @@ Roo.extend(Roo.bootstrap.NumberField, Roo.bootstrap.Input, {
         
         var cfg = Roo.bootstrap.NumberField.superclass.getAutoCreate.call(this);
         
-        if(cfg.cn)
+        if(cfg.cn.length > 0) {
+            
+        }
         
         return cfg;
     },