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

Comments

Projects
None yet
2 participants
@archaeron

archaeron commented Jun 10, 2012

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 in ce34ac1 Jun 11, 2012

@daffl

This comment has been minimized.

Show comment
Hide comment
@daffl

daffl Jun 11, 2012

Contributor

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

Contributor

daffl commented Jun 11, 2012

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

@archaeron

This comment has been minimized.

Show comment
Hide comment
@archaeron

archaeron Jun 12, 2012

thank you:) that was fast!

archaeron commented Jun 12, 2012

thank you:) that was fast!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment