-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixneeds: discussionFurther discussion with the team is needed before proceedingFurther discussion with the team is needed before proceeding
Description
Bug, feature request, or proposal:
Feature request
What is the expected behavior?
Ability to hide the MdDialog and then show it back, with the component inside of it not being changed.
What is the current behavior?
The component can only be closed, and the component inside is destroyed.
What are the steps to reproduce?
Open a dialog, change something inside it, close it, open it back, and see that the change is gone.
What is the use-case or motivation for changing an existing behavior?
For example with a form inside a MdDialog, resetting the form when the dialog is closed/hidden is very annoying.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.2.0-rc.2, Material 2.0.0-beta.6, any OS, any TypeScript version, any Browser
moravcik, dreamer99x, karol-depka, aniedzialek, MehdiSaeedifar and 3 more
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixneeds: discussionFurther discussion with the team is needed before proceedingFurther discussion with the team is needed before proceeding