Skip to content

Error in sample file. #9541

Closed
Closed
@carneirocorp

Description

@carneirocorp

Bug, feature request, or proposal:

The first dialog help example has an reference error.

What is the expected behavior?

The Plunker should compile and show the example.

What is the current behavior?

It has a wrong reference to an html file that produces an exception.

What are the steps to reproduce?

This:

@Component({
  selector: 'dialog-overview-example-dialog',
  templateUrl: 'dialog-overview-example-dialog.html',
})

Should be:

@Component({
  selector: 'dialog-overview-example',
  templateUrl: 'dialog-overview-example.html',
})

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?

Suggested version avaliable @ https://stackblitz.com/edit/angular-mc53qz

Metadata

Metadata

Assignees

Labels

docsThis issue is related to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions