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

Bug with duplicate sub-keys #17

Closed
archaeron opened this issue Jun 10, 2012 · 2 comments
Closed

Bug with duplicate sub-keys #17

archaeron opened this issue Jun 10, 2012 · 2 comments
Labels

Comments

@archaeron
Copy link

If I have this structure

<form id="times">
        <input name="begin[time]" value="A">
        <input name="begin[date]" value="B">
        <input name="end[time]" value="C">
        <input name="end[date]" value="D">
</form>

I get

{
    begin   :{time:"A",date:"B"},
    end     :{time:["C"],date:["D"]}
}

instead of the expected

{
    begin   :{time:"A",date:"B"},
    end     :{time:"C",date:"D"}
}
@daffl daffl closed this as completed in ce34ac1 Jun 11, 2012
@daffl
Copy link
Contributor

daffl commented Jun 11, 2012

Thanks! I just pushed the fix which will be included in the next release.

@archaeron
Copy link
Author

thank you:) that was fast!

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

No branches or pull requests

2 participants