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

index af0c656..19399e3 100644 (file)
@@ -282,7 +282,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
             autocomplete : this.autocomplete || 'new-password'
         };
         
-        if(this.capture){
+        if(this.capture.length){
             input.capture = this.capture;
         }