anchor.diff:          return type;
         default:
           return 'text';
  +    }
  +  }
  +
  +  String get autocompleteAttr {
  +    if (autocomplete) {
  +      return 'on';
  +    } else if (type == 'password') { // passwd autocomplete is different from text autocomplete
  +      return "new-password";
  +    } else {
  +      return 'off';
       }
     }
   
  
positive.code:   [attr.maxlength]="maxLength"
    [attr.min]="min"
    [attr.max]="max"
    (focus)="markAsTouched()"
    (click)="markAsTouched()"
    [class.error]="isTouchedAndInvalid()"
  
negative.code:   String type = 'text';
  
    @Input()
    bool autocomplete = true;
  
    @Input()
    bool readonly = false;
  
    FnxText(@Optional() FnxForm form, @Optional() FnxInput wrapper) : super(form, wrapper);
  