sticky-smartphone-28696
12/13/2022, 11:25 AMsticky-smartphone-28696
12/13/2022, 11:32 AMincalculable-angle-74188
12/13/2022, 12:01 PMtwig
{% extends 'base.html.twig' %}
{% block title %}Book index{% endblock %}
{% block body %}
<h1>Book index</h1>
<div hx-get={{ path('app_book_index_table') }} hx-trigger="load" hx-target="this">
Loading...
</div>
{% endblock %}
and it works but only the first time I load the page. If I go to another page and the return to this page a see only the "Loading..." label but the table is not loaded.
I see that the GET call is fired and the HTML code received but the content is not swapped.
Browser cache problem? Any suggestion?thankful-addition-60522
12/13/2022, 12:09 PMthankful-addition-60522
12/13/2022, 12:09 PMthankful-addition-60522
12/13/2022, 12:11 PMhx-boost
in a parent container that has a fancybox gallery in it the images will open but when you try to close the image it will become unresponsivethankful-addition-60522
12/13/2022, 12:12 PMfancybox-container
not removing itself and getting stuckthankful-addition-60522
12/13/2022, 12:12 PMstocky-dentist-80693
12/13/2022, 12:19 PMthankful-addition-60522
12/13/2022, 12:26 PMthankful-addition-60522
12/13/2022, 12:26 PMthankful-addition-60522
12/13/2022, 12:42 PMthankful-addition-60522
12/13/2022, 12:44 PMhttps://i.imgur.com/KUYqmSL.pngā¾
thankful-addition-60522
12/13/2022, 12:45 PMincalculable-angle-74188
12/13/2022, 2:07 PMstocky-dentist-80693
12/13/2022, 3:08 PMhx-disinherit="*"
or hx-boost="unset"
.thankful-addition-60522
12/13/2022, 3:12 PMthankful-addition-60522
12/13/2022, 3:13 PMthankful-addition-60522
12/13/2022, 3:14 PMthankful-addition-60522
12/13/2022, 5:02 PMcareful-room-54859
12/13/2022, 10:01 PMhx-vals
contain a nested JSON object?mysterious-toddler-20573
12/13/2022, 10:07 PMmysterious-toddler-20573
12/13/2022, 10:07 PMcareful-room-54859
12/13/2022, 10:10 PMworkflow name
, the trigger name
. But I also need to pass it a data object that the workflow works against. I was hoping to do this with pure HTMX but not sure I can do it....careful-room-54859
12/13/2022, 10:17 PMhx-vals
. Thanks for the clarification.careful-room-54859
12/13/2022, 10:17 PMripe-ghost-5606
12/14/2022, 12:19 AMmammoth-family-48524
12/14/2022, 11:55 AMsome-airline-73512
12/14/2022, 3:15 PMHx-Select-Oob=#block
b) Another way would be in general, if the response html has a top-level element with hx-select-oob
on it, use this to swap. Even if this was not present on the source element. Basically treat response headers as higher priority.
@mysterious-toddler-20573 what do you think? Did you have these use cases?