add docblock for password
[roojs1] / Roo / form / Field.js
index 0d47201..939c04d 100644 (file)
@@ -24,6 +24,9 @@ Roo.form.Field = function(config){
 Roo.extend(Roo.form.Field, Roo.BoxComponent,  {
     /**
      * @cfg {String} fieldLabel Label to use when rendering a form.
+     */
+       /**
+     * @cfg {String} labelSeparator the ':' after a field label (default :)  = set it to empty string to hide the field label.
      */
        /**
      * @cfg {String} qtip Mouse over tip
@@ -99,7 +102,7 @@ side          Add an error icon to the right of the field with a popup on hover
     /**
      * @cfg {Number} tabIndex The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).
         */
-    tabIndex : undefined,
+       tabIndex : undefined,
        
     // private
     isFormField : true,
@@ -294,6 +297,7 @@ side          Add an error icon to the right of the field with a popup on hover
      */
     reset : function(){
         this.setValue(this.resetValue);
+        this.originalValue = this.getValue();
         this.clearInvalid();
     },