I use floatLabel property of mat-form-field, but it doesn't work.
<mat-form-field [floatLabel]='always'>
<mat-label>CyberSource Reference</mat-label>
<input matInput placeholder="(Enter reference)" />
</mat-form-field>
It has 'CyberSource Reference' as placeholder. Then it move to label on focus. Behavior doesn't change with any value of floatLabel property. Any Ideas? MatFormFieldModule is loaded to my app. Thanks.
"@angular/material": "^5.0.4"