Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

dialog: should let me run code when the "cancel" button is pressed #10130

@dplassgit

Description

@dplassgit

Actual Behavior:

  • What is the issue? * $mdDialog.confirm only lets me run code when the user clicks the "confirm" button on the dialog. I want to run code when the user clicks the "cancel" action button. (This is documented at https://material.angularjs.org/latest/api/service/$mdDialog)
  • What is the expected behavior? N/A

CodePen (or steps to reproduce the issue): *

  • CodePen Demo which shows your issue: N/A
  • Details:

Angular Versions: *

  • Angular Version: 1.5
  • Angular Material Version: 1.1

Metadata

Metadata

Assignees

Labels

P3: importantImportant issues that really should be fixed when possible.has: Pull RequestA PR has been created to address this issuetype: docs

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions