busy-tomato-43957
11/12/2022, 6:36 PM<input id="new-todo" name="new-todo" placeholder="What needs to be done?" autofocus hx-post="/todos;add" hx-target=".todo-list" hx-swap="afterbegin" hx-swap-oob="true" />
Note the docs say:
> Out of band elements must be in the top level of the response, and not children of the top level elements.
So it's safe to always include hx-swap-oob in the original fragment (as long as its wrapped in a parent element)shy-zebra-22292
11/12/2022, 6:38 PMbusy-tomato-43957
11/12/2022, 6:59 PMbusy-tomato-43957
11/12/2022, 7:01 PMbusy-tomato-43957
11/12/2022, 7:03 PMrefined-garage-59106
11/12/2022, 7:21 PM<input name="example[]" value="X">
<input name="example[]" value="Y">
<input name="example[]" value="Z">
Just doesn't go through and is seen as example..shy-zebra-22292
11/12/2022, 8:25 PMmysterious-toddler-20573
11/12/2022, 11:20 PMminiature-lizard-24702
11/13/2022, 12:00 AMminiature-lizard-24702
11/13/2022, 12:04 AMmysterious-toddler-20573
11/13/2022, 12:04 AMminiature-lizard-24702
11/13/2022, 12:04 AMmysterious-toddler-20573
11/13/2022, 12:04 AMminiature-lizard-24702
11/13/2022, 12:04 AMminiature-lizard-24702
11/13/2022, 12:05 AMminiature-lizard-24702
11/13/2022, 12:05 AMwhite-london-59674
11/13/2022, 12:06 AMminiature-lizard-24702
11/13/2022, 12:07 AMminiature-lizard-24702
11/13/2022, 12:08 AMminiature-lizard-24702
11/13/2022, 12:10 AMwhite-london-59674
11/13/2022, 12:10 AMminiature-lizard-24702
11/13/2022, 12:10 AMminiature-lizard-24702
11/13/2022, 12:11 AMminiature-lizard-24702
11/13/2022, 12:12 AMminiature-lizard-24702
11/13/2022, 12:12 AMwhite-london-59674
11/13/2022, 12:12 AMminiature-lizard-24702
11/13/2022, 12:15 AMminiature-lizard-24702
11/13/2022, 12:15 AMminiature-lizard-24702
11/13/2022, 12:16 AM