Skip to content

Bug with duplicate sub-keys #17

@archaeron

Description

@archaeron

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"}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions