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 2-factor registration dialog that uses a parent state with two child states. Retrieving the user information in a resolve in the first child state and using a binding to rename the resolve doesn't seem to work.
I've created a pen for you. As it is now it shows the data. When the "userInfo" to "user" binding is enabled and the "userInfo" resolve is used instead of the "user" resolve the data will not show.
bindings is a view property. You should not use the "$default" shorthand view properties (view properties on the state object) when separate views: {} block.
Since your state has a views block and a bindings block, it should not have passed validation. I'll mark this as a bug in the validation code.
christopherthielen
changed the title
Bindings not working for child state
States with both bindings and views properties should not validate
Feb 26, 2017
[Using ui-router v1.0.0-rc1]
I have a 2-factor registration dialog that uses a parent state with two child states. Retrieving the user information in a resolve in the first child state and using a binding to rename the resolve doesn't seem to work.
The above doesn't work. When I remove the bindings from the
STATES.REGISTRATION_START
state and change theregistrationInfo
touser
it all works.The text was updated successfully, but these errors were encountered: