Skip to content
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

arrayLimit not working on 2 dimensional arrays #450

Open
geobotsar81 opened this issue Aug 18, 2022 · 0 comments
Open

arrayLimit not working on 2 dimensional arrays #450

geobotsar81 opened this issue Aug 18, 2022 · 0 comments

Comments

@geobotsar81
Copy link

geobotsar81 commented Aug 18, 2022

Trying to apply arrayLimit in order to bypass the default 20 items limit.

This seems to be working in case of a one-dimensional array as below:

const rawQueryString = decodeURI(window.location.search.substring(1));
console.log(rawQueryString)
const queryObject = qs.parse(rawQueryString, { arrayLimit: 100 });
console.log(queryObject)

url_parse_working_2

But it does not work if this is a 2-dimensional array:

url_parse_not_working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant