components icon indicating copy to clipboard operation
components copied to clipboard

MdSelect Documentation Error

Open vincecampanale opened this issue 9 years ago • 3 comments

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Documentation API section provides correct name of module for import. https://material.angular.io/components/select/api

The import statement says to import 'MatSelectModule' but the correct import is 'MdSelectModule'.

What is the current behavior?

'MatSelectModule' is incorrect or at least not applicable in the most recent version. The correct name of the module is 'MdSelectModule'.

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue. Plunker template: https://goo.gl/DlHd6U

Try importing the 'MatSelectModule', it does not exist. A Plunker for this seems like overkill.

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

Correct documentation.

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

I'm using Angular 4.4.x, Material 2.0.0-beta.11, Linux (Gentoo), TS 2.3.4, and browser is irrelevant to this issue.

Is there anything else we should know?

You all have built an impressive Angular component library - thank you for all your hard work and the steady improvements :+1:

vincecampanale avatar Sep 28 '17 13:09 vincecampanale

Either should work right now. beta.11 just deprecated Md* in favor of Mat*. See https://github.com/angular/material2/blob/master/CHANGELOG.md#deprecation-of-md-prefix

willshowell avatar Sep 28 '17 13:09 willshowell

Got it thanks!

vincecampanale avatar Sep 28 '17 14:09 vincecampanale

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.