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 am using an array of query parameters and finding that my route controller executes twice. So /route/1?test=2 executes route controller once as expected, but /route/1?test=2&test=3 executes the route controller twice.
From my main controller, when I do a $state.go('route', {routeid: "1", test: ""}); or $state.go('route', {routeid: "1", test: "2"}); the route controller executes once.
When I use an array parameter, like $state.go('route', {routeid: "1", test: ["2", "3"]}); the route controller executes twice.
Is this the expected functionality, or is it a bug? If it is expected, I'd like to understand why.
The text was updated successfully, but these errors were encountered:
I am using an array of query parameters and finding that my route controller executes twice. So
/route/1?test=2
executes route controller once as expected, but/route/1?test=2&test=3
executes the route controller twice.Plunker to reproduce the bug
In short:
A route configured like:
From my main controller, when I do a
$state.go('route', {routeid: "1", test: ""});
or$state.go('route', {routeid: "1", test: "2"});
the route controller executes once.When I use an array parameter, like
$state.go('route', {routeid: "1", test: ["2", "3"]});
the route controller executes twice.Is this the expected functionality, or is it a bug? If it is expected, I'd like to understand why.
The text was updated successfully, but these errors were encountered: