-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Support array state parameters #373
Comments
Oops. |
I would also really appreciate this feature! |
Patches are welcome. 👍 |
Is there any way to disable this? I want to encode JSON in query parameters with a custom type handler, but this handling causes arrays to be handled as multiple query params instead of one JSON query param. |
hi is there a way to receive a param join with commas ? like: "?person=5b3ef51a9f929066765bb07e,5b3ef50d9f929066764ec006" |
Urlencode it then you can receive it right ? |
Angular $location has support for setting/getting query parameters that are repeated and treat them as arrays. It would be great to have this supported in ui-router.
Some example usage:
$stateParams.array would also be constructed from the location into an array of course.
The text was updated successfully, but these errors were encountered: