Components: Angular Material Dialog stackblitz example doesn't work

Created on 3 Jun 2019  路  7Comments  路  Source: angular/components

Documentation Feedback

Stackblitz example for Angular Material Dialog doesn't render

*Affected documentation page: * https://material.angular.io/components/dialog/overview
image

docs

All 7 comments

You should use
import {MatDialog, MatDialogRef, MAT_DIALOG_DATA} from '@angular/material';
instead of
import {MatDialog, MatDialogRef, MAT_DIALOG_DATA} from '@angular/material/dialog';

Seems to be fixed, has the correct material-module.ts file now.

Seems to be fixed, has the correct material-module.ts file now.

What is the link you are using ?

It _was_ working yesterday (with the update material module pointing at the correct imports, same link as the one off of the doc page you have linked above) as I was toying around with it for a couple hours for a defect that my company has with it... now it's broken again, worse this time.

It's just displaying {"error":"UNSATISFIED_RANGE","data":{"name":"@angular/cdk","range":"8.0.1"}} in plain text now, without the editor.

The stackblitz link you have up there is outdated though, that's not the same link I get when clicking through the actual doc page.

It'd be nice to be able to use that again.. (guess I'll just use the previous version for now)

Now it's working again for v8 as of now (https://stackblitz.com/angular/lpbqqoqxkxr?file=app%2Fdialog-overview-example.ts). Someone must've been editing it.

I believe this was temporarily broken due to https://github.com/angular/components/issues/16267 but should be working now

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

Related issues

RoxKilly picture RoxKilly  路  3Comments

jelbourn picture jelbourn  路  3Comments

3mp3ri0r picture 3mp3ri0r  路  3Comments

julianobrasil picture julianobrasil  路  3Comments

Hiblton picture Hiblton  路  3Comments