-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_array_ queryParam converted to _string_ after transitionTo #13591
Comments
Ember 2.5.1 has the some problem. |
This issue has been mentioned here: #13273 (comment) |
Big thanks for looking into that! |
Quoting @Sinled from #13273 (comment) :
|
Can this issue be reopened? The behavior of the twiddle in the OP differs slightly in 2.6.2 and 2.7.0: |
`"[1]"` gets stringified in a subsequent call to `serializeQueryParam`, resulting in the serialized param being `""[1]""` instead of `"[1]"`. This fixes emberjs#13591 and is similar to emberjs#13816.
Hi,
a demo: https://ember-twiddle.com/650b6fb3657bf037a40170f3b1e74b84
Steps to reproduce (here's a quick video: https://v.usetapes.com/V0vlZepqbw):
array
parameter.array
parameter is now a string (and should remain an array).Notes:
controllerName: 'application'
to access query parameters from the parent route/controller.this.transitionTo('application')
setting parameters will work as expected (array
parameter remains an array).Thanks,
Artur
The text was updated successfully, but these errors were encountered: