ripe-action-67367
06/22/2022, 3:36 PMripe-action-67367
06/22/2022, 3:39 PMblue-pencil-76354
06/22/2022, 3:41 PMhundreds-camera-24900
06/22/2022, 4:15 PMhundreds-camera-24900
06/22/2022, 4:16 PMhundreds-camera-24900
06/22/2022, 4:17 PMhundreds-camera-24900
06/22/2022, 4:17 PMhundreds-camera-24900
06/22/2022, 4:18 PMhtml
<form x-data=...
:hx-post="`...`">hundreds-camera-24900
06/22/2022, 7:20 PMblue-pencil-76354
06/22/2022, 7:56 PMblue-pencil-76354
06/22/2022, 7:56 PMmysterious-toddler-20573
06/22/2022, 8:39 PMhundreds-camera-24900
06/22/2022, 8:40 PMhappy-knife-63802
06/22/2022, 9:05 PMhappy-knife-63802
06/22/2022, 9:32 PMgorgeous-airport-54386
06/23/2022, 12:37 AMclever-dinner-48156
06/23/2022, 9:50 AMrefined-waiter-90422
06/23/2022, 9:56 AMclever-dinner-48156
06/23/2022, 10:04 AMtall-dinner-62086
06/23/2022, 10:04 AMtall-dinner-62086
06/23/2022, 10:06 AMclever-dinner-48156
06/23/2022, 10:11 AMtall-dinner-62086
06/23/2022, 10:16 AMrefined-waiter-90422
06/23/2022, 10:22 AMrefined-waiter-90422
06/23/2022, 10:25 AMprehistoric-motherboard-11079
06/23/2022, 10:47 AMclever-dinner-48156
06/23/2022, 11:03 AMechoing-book-71490
06/23/2022, 11:54 AM{
"items": [
{
"id": "12345",
"qty": 10
},
{
"id": "67890",
"qty": 15
}
]
}
htmx and the json encoder extension doesn't natively handle arrays as far a I can see. What would be a good structure for the form? Fieldsets? Making the name attribute something like "items[12345][qty]"?