<ion-label floating>Password</ion-label> not working in ionic2 rc4


#1

label is not showing anymore after we upgrade ionic2 to latest and followed the steps mentioned in https://github.com/driftyco/ionic/blob/master/CHANGELOG.md for config. Are we missing any config for latest ionic2? It was working when we built 3 weeks back on fresh checkout.

here is my ionic info
You have been opted out of telemetry. To change this, run: cordova telemetry on
.
6.3.1

Ionic CLI Version: 2.1.17
Ionic App Lib Version: 2.1.7
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v4.5.0
Xcode version: Not installed


#2

Share your code. The error might be yours.


#3

FYI: It was working good. Still it works in other box which don’t have ionic2 rc4 upgrade. It is happening only after we took latest ionic2. Thanks for your support

<ion-item>
        <ion-label  floating>Username</ion-label>
        <ion-input type="text" [(ngModel)]="username"  formControlName="username"></ion-input>
      </ion-item> 

package.json

{
“name”: “ionic-hello-world”,
“author”: “Ionic Framework”,
“homepage”: “http://ionicframework.com/”,
“private”: true,
“scripts”: {
“ionic:build”: “ionic-app-scripts build”,
“ionic:serve”: “ionic-app-scripts serve”
},
“dependencies”: {
"@angular/common": “2.2.1”,
"@angular/compiler": “2.2.1”,
"@angular/compiler-cli": “2.2.1”,
"@angular/core": “2.2.1”,
"@angular/forms": “2.2.1”,
"@angular/http": “2.2.1”,
"@angular/platform-browser": “2.2.1”,
"@angular/platform-browser-dynamic": “2.2.1”,
"@angular/platform-server": “2.2.1”,
"@ionic/storage": “1.1.6”,
“ionic-angular”: “2.0.0-rc.4”,
“ionic-native”: “2.2.11”,
“ionicons”: “3.0.0”,
“rxjs”: “5.0.0-beta.12”,
“tsd”: “0.6.5”,
“typings”: “1.4.0”,
“underscore”: “^1.8.3”,
“zone.js”: “0.6.26”,
“angular2-signaturepad”: “^2.0.1”
},
“devDependencies”: {
"@ionic/app-scripts": “0.0.47”,
“typescript”: “^2.0.9”
},
“description”: “OTS: An Ionic project”,
“cordovaPlugins”: [
“cordova-plugin-device”,
“cordova-plugin-console”,
“cordova-plugin-whitelist”,
“cordova-plugin-splashscreen”,
“cordova-plugin-statusbar”,
“ionic-plugin-keyboard”,
“cordova-plugin-dialogs”,
“cordova-plugin-nativestorage”,
“cordova-plugin-secure-storage”,
“cordova-plugin-geolocation”,
“cordova.plugins.diagnostic”,
“cordova-plugin-camera”,
“cordova-plugin-file-transfer”,
“cordova-plugin-file”
],
“cordovaPlatforms”: []
}


#4

Having both [(ngModel)] and formControlName seems strange to me. I would also try switching to the latest LTS version of node (6.9.2 last I checked).