Components: mat-select do not accept [placeholder]="..."

Created on 6 Oct 2017  路  5Comments  路  Source: angular/components

Bug, feature request, or proposal:

mat-select do not accept [placeholder]="..."

What is the expected behavior?

mat-select accept [placeholder]="..."

What is the current behavior?

Only fixed is accepted

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 4.4.4 Material 2.0.0-beta.12

Most helpful comment

@EvgeniKalenski yeah, you should place all of your selects inside of form-fields now, just like matInput.

All 5 comments

@MaickelHubner , Had the same issue as you and wrapping mat-select in element solved my problem. @willshowell Is this wrapping is mandatory now for mat-select if I want to use placeholder?

@EvgeniKalenski yeah, you should place all of your selects inside of form-fields now, just like matInput.

I needed to import the MatSelectModule and it worked again. Thanks

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._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

crutchcorn picture crutchcorn  路  3Comments

vitaly-t picture vitaly-t  路  3Comments

kara picture kara  路  3Comments

constantinlucian picture constantinlucian  路  3Comments

julianobrasil picture julianobrasil  路  3Comments