{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material2/issues/11636","repository_url":"https://api.github.com/repos/angular/material2","labels_url":"https://api.github.com/repos/angular/material2/issues/11636/labels{/name}","comments_url":"https://api.github.com/repos/angular/material2/issues/11636/comments","events_url":"https://api.github.com/repos/angular/material2/issues/11636/events","html_url":"https://github.com/angular/material2/issues/11636","id":328827509,"node_id":"MDU6SXNzdWUzMjg4Mjc1MDk=","number":11636,"title":"'mat-select' is not a known element","user":{"login":"Gnorro","id":31180439,"node_id":"MDQ6VXNlcjMxMTgwNDM5","avatar_url":"https://avatars2.githubusercontent.com/u/31180439?v=4","gravatar_id":"","url":"https://api.github.com/users/Gnorro","html_url":"https://github.com/Gnorro","followers_url":"https://api.github.com/users/Gnorro/followers","following_url":"https://api.github.com/users/Gnorro/following{/other_user}","gists_url":"https://api.github.com/users/Gnorro/gists{/gist_id}","starred_url":"https://api.github.com/users/Gnorro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gnorro/subscriptions","organizations_url":"https://api.github.com/users/Gnorro/orgs","repos_url":"https://api.github.com/users/Gnorro/repos","events_url":"https://api.github.com/users/Gnorro/events{/privacy}","received_events_url":"https://api.github.com/users/Gnorro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-03T13:09:34Z","updated_at":"2018-06-03T13:11:45Z","closed_at":"2018-06-03T13:11:45Z","author_association":"NONE","body":"#### Bug, feature request, or proposal:\r\nbug\r\n\r\n#### What is the expected behavior?\r\nNo error\r\n\r\n#### What is the current behavior?\r\nI upgraded from angular 4 to 6\r\nAfter that when running project I get error:\r\n\r\n```\r\n'mat-select' is not a known element:\r\n1. If 'mat-select' is an Angular component, then verify that it is part of this module.\r\n2. If 'mat-select' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (\"-form-field>\r\n<mat-form-field>\r\n\t[ERROR ->]<mat-select formControlName=\"provinceFormControl\" placeholder=\"Provincia\" name=\"country_shipping\"\r\n```\r\n\r\n#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?\r\nAngular CLI: 6.0.7\r\nNode: 8.11.2\r\nOS: win32 x64\r\nAngular: 6.0.3\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, platform-server, router\r\n\r\nPackage                           Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect         0.6.7\r\n@angular-devkit/build-angular     0.6.7\r\n@angular-devkit/build-optimizer   0.6.7\r\n@angular-devkit/core              0.6.7\r\n@angular-devkit/schematics        0.6.7\r\n@angular/cdk                      6.2.0\r\n@angular/cli                      6.0.7\r\n@angular/material                 6.2.0\r\n@ngtools/webpack                  6.0.7\r\n@schematics/angular               0.6.7\r\n@schematics/update                0.6.7\r\nrxjs                              6.2.0\r\ntypescript                        2.7.2\r\nwebpack                           4.10.2\r\n\r\n#### Is there anything else we should know?\r\nI moved every \r\n`<mat-select>`\r\n inside a \r\n`<mat-form-field>`\r\nand addedd import for MatFormFieldModule in app.module"},"comment":{"url":"https://api.github.com/repos/angular/material2/issues/comments/394161474","html_url":"https://github.com/angular/material2/issues/11636#issuecomment-394161474","issue_url":"https://api.github.com/repos/angular/material2/issues/11636","id":394161474,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDE2MTQ3NA==","user":{"login":"crisbeto","id":4450522,"node_id":"MDQ6VXNlcjQ0NTA1MjI=","avatar_url":"https://avatars0.githubusercontent.com/u/4450522?v=4","gravatar_id":"","url":"https://api.github.com/users/crisbeto","html_url":"https://github.com/crisbeto","followers_url":"https://api.github.com/users/crisbeto/followers","following_url":"https://api.github.com/users/crisbeto/following{/other_user}","gists_url":"https://api.github.com/users/crisbeto/gists{/gist_id}","starred_url":"https://api.github.com/users/crisbeto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crisbeto/subscriptions","organizations_url":"https://api.github.com/users/crisbeto/orgs","repos_url":"https://api.github.com/users/crisbeto/repos","events_url":"https://api.github.com/users/crisbeto/events{/privacy}","received_events_url":"https://api.github.com/users/crisbeto/received_events","type":"User","site_admin":false},"created_at":"2018-06-03T13:11:45Z","updated_at":"2018-06-03T13:11:45Z","author_association":"MEMBER","body":"You also have to import the `MatSelectModule`."}}
{"actor":{"display_login":"crisbeto"}}