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.
nav.popToRoot() showing blank screen
Anguler2 js: getting no compatible version found : #types/node#^5.8.0
Angular 2 xi18n cannot resolve template path outside of component directory
Angular 2 - Uncaught (in promise): ReferenceError: System is not defined
update routes dynamically in angular2 app
Resolving Multiple Pieces of Data using Resolve Guard in Angular 2
Angular 2 disable form button from ts?
ng2-charts - Can't bind to 'datasets' since it isn't a known property of 'base-chart'
Angular 2 not showing correctly values in input
Webpack resolve.modulesDirectories doesn't seem to work
Text editors in angular2
Where can i find the latest ionic-angular2 version in a plunker that uses #Ngmodule?
How to manually lazy load a module?
Angular2 Prevent route change if any changes made in the view
Angular2 pass data from component to root component, without child component
Angular 2 $this.parent().next().show() on click