Roo/bootstrap/Input.js
authorEdward <edward@roojs.com>
Wed, 1 Aug 2018 04:16:50 +0000 (12:16 +0800)
committerEdward <edward@roojs.com>
Wed, 1 Aug 2018 04:16:50 +0000 (12:16 +0800)
Roo/bootstrap/Input.js

index 8a0fa1b..0139e8c 100644 (file)
@@ -245,7 +245,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
     labelsm : 0,
     labelxs : 0,
     
-    capture : false,
+    capture : '',
     
     parentLabelAlign : function()
     {
@@ -282,8 +282,8 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
             autocomplete : this.autocomplete || 'new-password'
         };
         
-        if(this.capture){
-            input.capture = 
+        if(this.capture.length){
+            input.capture = this.capture;
         }
         
         if(this.align){