components icon indicating copy to clipboard operation
components copied to clipboard

docs-bug(cdk-dialog): CDK Dialog docs missing explanation on how to access dialogRef when using a TemplateRef

Open karptonite opened this issue 2 years ago • 4 comments

Documentation Feedback

The docs are clear on how to access the data when opening a modal using a TemplateRef--you can use let-data. But it is silent on how to access the dialogRef, which is needed if you want to, for example, close the modal. By inspecting the code, I figured out I could use let-dialogRef="dialogRef", but it wasn't obvious.

Affected documentation page

https://material.angular.io/cdk/dialog/overview

karptonite avatar Dec 06 '22 21:12 karptonite

Hi @karptonite Can you please assign this issue to me? Thank you.

Nik-09 avatar Nov 07 '23 13:11 Nik-09

I don't think I have authority to assign issues.

karptonite avatar Nov 07 '23 13:11 karptonite

Adding @crisbeto for ref.

Nik-09 avatar Nov 07 '23 13:11 Nik-09

@Nik-09 you still working on this?

skilledDev96 avatar Apr 15 '24 03:04 skilledDev96

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.