Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70439

Autofill label problem

$
0
0

@michele87 wrote:

Hi everyone. I have a problem. I 'can’t disable a label that appears when I click in password input. There is any solution??

My ionic configuration:

"dependencies": {
    "@angular/common": "^5.2.0",
    "@angular/compiler": "^5.2.0",
    "@angular/compiler-cli": "^5.2.0",
    "@angular/core": "^5.2.0",
    "@angular/forms": "^5.2.0",
    "@angular/http": "^5.2.0",
    "@angular/platform-browser": "^5.2.0",
    "@angular/platform-browser-dynamic": "^5.2.0",
    "@ionic-native/app-update": "^5.2.0",
    "@ionic-native/camera": "^5.2.0",
    "@ionic-native/core": "^5.2.0",
    "@ionic-native/email-composer": "^5.2.0",
    "@ionic-native/splash-screen": "^5.2.0",
    "@ionic-native/status-bar": "^5.2.0",
    "@ionic/storage": "^2.2.0",
    "@ng-idle/core": "^2.0.0-beta.15",
    "@ng-idle/keepalive": "^2.0.0-beta.15",
    "cordova-android": "8.0.0",
    "cordova-ios": "^5.0.0",
    "cordova-plugin-app-update": "^2.0.2",
    "cordova-plugin-appversion": "^1.0.0",
    "cordova-plugin-camera": "4.0.3",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-email-composer": "0.9.2",
    "cordova-plugin-ionic-keyboard": "^2.1.3",
    "cordova-plugin-ionic-webview": "^3.1.2",
    "cordova-plugin-splashscreen": "^5.0.2",
    "cordova-plugin-statusbar": "^2.4.2",
    "cordova-plugin-whitelist": "^1.3.3",
    "es6-promise-plugin": "4.2.2",
    "ionic-angular": "3.9.2",
    "ionicons": "^4.2.2",
    "rxjs": "^5.5.0",
    "rxjs-compat": "^6.3.0",
    "sw-toolbox": "3.6.0",
    "zone.js": "0.8.29"
  },
  "devDependencies": {
    "@ionic/app-scripts": "3.2.3",
    "typescript": "2.6.2"
  },

I tried:

 IonicModule.forRoot(MyApp, {
       autocomplete: 'off',
       autocorrect: 'off',
       scrollAssist: false,
       autoFocusAssist: false
    })

and

<ion-item>
        <ion-label floating>Username / Email</ion-label>
        <ion-input autocomplete="off" class="my-input" [formControl]="credentialsForm.controls['username']" type="email" #user></ion-input>
      </ion-item>

      <ion-item>
          <ion-label floating>Password</ion-label>
          <ion-input autocomplete="off" class="my-input" [formControl]="credentialsForm.controls['password']" type="password" #pass></ion-input>
      </ion-item>

also autocomplete=“false, nope” but not working for me.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70439

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>