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
<h4>Basic mat-select</h4>
<mat-form-field>
<mat-label>Favorite food</mat-label>
<mat-select placeholder="No value selected"> <!-- this is not showing-->
<mat-option *ngFor="let food of foods" [value]="food.value">
{{food.viewValue}}
</mat-option>
</mat-select>
</mat-form-field>
Expected and Actual behavior. Expected: If provided, the label floats to the top of the field, and the placeholder text can be seen if no value is selected. Actual: the label acts as a placeholder.
Activity
fix(select): float label on focus if there's a placeholder
fix(select): float label on focus if there's a placeholder
fix(material/select): float label on focus if there's a placeholder
fix(material/select): float label on focus if there's a placeholder
fix(material/select): float label on focus if there's a placeholder (#…
fix(material/select): float label on focus if there's a placeholder (#…
angular-automatic-lock-bot commentedon Apr 10, 2021
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.