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
Description
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
Labels
No labels