Angular2 MDL input box labels visible after data binding
I am using material design lite and my input box has following code: <div #textfield class="mdl-textfield mdl-js-textfield"> <textarea rows="4" class="my-input mdl-textfield__input" type="text" id="user-desc" [ngModel]="short_story" (ngModelChange)="getShortStory($event)"></textarea> <label class="my-label mdl-textfield__label" for="user-desc">That's my short story!</label> </div> When I get data from my server and is bound to the input box, the label is still visible in the background. How to hide/remove it in such cases. If I start typing, it goes away, but initially it does not good at all.
Cordova media plugin is not working in marshmallow
Is Angular2 responsive out of the box?
Async call update HTML Element though Angular 4.x Service
Uncaught ReferenceError: define is not defined angular2/webpack 1
unable to find suitable angular data grid for angular 2.4.1 version?
Access process.env in environment.ts file created from the angular-cli
Cannot read property 'channels' of undefined youtube api
How to set the public path on angular 4
Using local Bootstrap3 with angular 2
Firebase: update database when no write operation happens in 5 minutes interval
Build single directive to perform both Structural & Attribute behaviour?
Angular 2 Sending data to child
AOT - Function calls are not supported Module.forRoot
subscribe to ionic page change event
Dynamic number of Promise in Angularfire2
Drag and drop doesn't call change event in ie/edge angular2