0
votes

Where do I find the module to import to use <mat-chip-list>? I'm thinking it would be under the API tab but that is empty.

empty api tab


I'm receiving the following error since I'm not importing the correct module:

An unhandled exception occurred while processing the request.

NodeInvocationException: Template parse errors:

'mat-chip-list' is not a known element:

  1. If 'mat-chip-list' is an Angular component, then verify that it is part of this module.

  2. If 'mat-chip-list' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message....

1
I opened material.angular.io/components/chips/api and see import {MatChipsModule} from '@angular/material'; - yurzui
There it is. Must have been some temporary glitch early, thanks! - spottedmahn
I usually watch this path github.com/angular/material2/tree/master/src/demo-app for the examples and all modules can be found here github.com/angular/material2/blob/master/src/demo-app/… - yurzui

1 Answers

0
votes

Must have been a temporary glitch as it is there now:

api tab