Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Form Input Names should support hashmaps and arrays #690

Closed
@ProLoser

Description

@ProLoser

I would like to be able to do either of these two solutions:
<input type="checkbox" name="items[id]">
<input type="checkbox" name="items.id{{id}}">

Why?

So that I can refer to 1 variable in the scope and treat it as an array of checkbox values. You can have all the keys set to the value specified by the checkbox (or just 1 by default). This seems a lot more reasonable than having to deal with functions that manually handle the data when you check or uncheck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions