Roo/bootstrap/Input.js
authorAlan Knowles <alan@roojs.com>
Thu, 24 Sep 2015 07:48:09 +0000 (15:48 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 24 Sep 2015 07:48:09 +0000 (15:48 +0800)
Roo/bootstrap/Input.js

index 8842720..5505ca0 100644 (file)
  * @cfg {Number} labelWidth set the width of label (0-12)
  * @cfg {String} labelAlign (top|left)
  * @cfg {Boolean} readOnly Specifies that the field should be read-only
+ * @cfg {String} autocomplete - default is new-password see: https://developers.google.com/web/fundamentals/input/form/label-and-name-inputs?hl=en
+
  * @cfg {String} align (left|center|right) Default left
  * 
  * 
+ * 
  * @constructor
  * Create a new Input
  * @param {Object} config The config object
@@ -182,6 +185,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
      */
     regexText : "",
     
+    autocomplete: false,
     
     
     fieldLabel : '',