After updating my application with angular-cli to angular/material (2.0.0-beta.11) and angular (4.4.4), I noticed that every placeholder in the material input fields overlaps the value when provided with formControlName in reactive forms. However, when using the value attribute directly, the placeholder works correctly.
Here is the code for my form:
<form novalidate (ngSubmit)="save(formGroup)" [formGroup]="formGroup">
<md-form-field>
<input mdInput placeholder="Favorite food" formControlName="placeName">
</md-form-field>
<!-- This entry is for test sake -->
<md-form-field>
<input mdInput placeholder="Favorite food" value="TEST VALUE">
</md-form-field>
</form>
Here is a screenshot of the issue: https://i.sstatic.net/PY2RA.png
Interestingly, on the server where I still use angular 4.1.2, the form is rendered correctly. I have checked the documentation and release notes but could not find any information on this issue. Does anyone know a possible solution to this problem other than downgrading the packages?