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
What works, is to explicitly define just the name, which is not very convenient for user, who is in the react component, because, he doesn't immediately know, that the create "new" is a child route
When a state is registered, the name provided is used as the basis for all lookups. because of this, if you use theparent: notation, the parent state name is not part of the Child state name and therefore is not used during lookups.
This is something I would consider changing in UI router core. I think there is value in being able to address child states in this way. I need to convince myself that there is no room for ambiguity, however, before this gets implemented.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. This does not mean that the issue is invalid. Valid issues may be reopened. Thank you for your contributions.
If I have following state definitions where children are defined with
parent
:and UsersPage component with UISref or imperative injected router and relative reference to child:
it doesn't transition to
new
route, even it doesn't throws any error.this doesn't work as well:
What works, is to explicitly define just the name, which is not very convenient for user, who is in the react component, because, he doesn't immediately know, that the create "new" is a child route
The text was updated successfully, but these errors were encountered: