Components: mat select not displaying correctly

Created on 11 Oct 2017  路  3Comments  路  Source: angular/components

Bug, feature request, or proposal:

mat select is not displaying correctly as per the documentation

What is the expected behavior?

https://material.angular.io/components/select/overview

What is the current behavior?

default value not displaying and bottom bar not displaying

What are the steps to reproduce?

http://plnkr.co/edit/BkDM5OofpNVqR8yepgT1?p=preview

What is the use-case or motivation for changing an existing behavior?

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

Is there anything else we should know?

FYI, The documentation still uses the old component in the code example but the description above uses
https://material.angular.io/components/select/overview

Most helpful comment

You must wrap mat-select in mat-form-field, as of beta.12

All 3 comments

You must wrap mat-select in mat-form-field, as of beta.12

To get the actual version of the documentation, you can follow these instructions https://github.com/angular/material2/issues/7715#issuecomment-335835631

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