You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug:
mdInput does not float the Placeholder when changes on a FormControl value associated with the input is done outside the main detection process of OnPush (on a @input change or event inside the component). Without the ChangeDetectionStrategy.OnPush, it works as expected.
What is the expected behavior?
mdInput should update the Placeholder float class of the control on a FormControl value change.
What is the current behavior?
It does not update the floating state of the Placeholder.
Bug, feature request, or proposal:
Bug:
mdInput does not float the Placeholder when changes on a FormControl value associated with the input is done outside the main detection process of OnPush (on a @input change or event inside the component). Without the ChangeDetectionStrategy.OnPush, it works as expected.
What is the expected behavior?
mdInput should update the Placeholder float class of the control on a FormControl value change.
What is the current behavior?
It does not update the floating state of the Placeholder.
What are the steps to reproduce?
Plunker template: https://plnkr.co/edit/cnjdIETvMgcffUZqfpbg?p=preview
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, browsers are affected?
Angular 2.4.9, Material 2.0.0-beta.2, Chrome 56, MacOS
The text was updated successfully, but these errors were encountered: