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
Here is an example: http://plnkr.co/edit/26bmjaWkmRZhmED4l21o?p=info
Just press on the combo and select one of the options, there should be only one alert of state changes but thee will be two.
The reason is that the function "function equalForKeys(a, b, keys)" doesn't aware of the parameters types and while the above example use a boolean parameter inside the state, the string value of the boolean doesn't match.
Seems like this can be fixed by adding some kind of type checking.
In general ui router should "know" thew types of the parameters (arrays, strings...) so state parameters will always contain the real type and not the string representation
The text was updated successfully, but these errors were encountered:
Hi,
Here is an example: http://plnkr.co/edit/26bmjaWkmRZhmED4l21o?p=info
Just press on the combo and select one of the options, there should be only one alert of state changes but thee will be two.
The reason is that the function "function equalForKeys(a, b, keys)" doesn't aware of the parameters types and while the above example use a boolean parameter inside the state, the string value of the boolean doesn't match.
Seems like this can be fixed by adding some kind of type checking.
In general ui router should "know" thew types of the parameters (arrays, strings...) so state parameters will always contain the real type and not the string representation
The text was updated successfully, but these errors were encountered: