You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a parent state with several child states to handle a tabbed view. The parent state redirects to the first child state using a redirectTo property.
In an unrelated state I have a component with a uiCanExit function in the controller that shows a confirmation dialog when there is unsaved data (with cancel, discard and save). When I press discard I resolve the dialog promise to true but the confirmation dialog is displayed again. To prevent this I need to make sure that the conditions for displaying the dialog are not met.
Is this a bug or intended feature?
The text was updated successfully, but these errors were encountered:
[Using UI-Router 1.0]
I have a parent state with several child states to handle a tabbed view. The parent state redirects to the first child state using a
redirectTo
property.In an unrelated state I have a component with a uiCanExit function in the controller that shows a confirmation dialog when there is unsaved data (with cancel, discard and save). When I press discard I resolve the dialog promise to true but the confirmation dialog is displayed again. To prevent this I need to make sure that the conditions for displaying the dialog are not met.
Is this a bug or intended feature?
The text was updated successfully, but these errors were encountered: