-
Here's what my nav looks like. I'm trying to add the <nav
id="navLeft"
hx-boost="true"
hx-target="#navLeftView"
hx-swap="outerHTML"
hx-include="[name='environment'][name='unit']"
>
<a
href="/events"
hx-get="/events?partial=below"
hx-push-url="/events"
>Events</a>
<a
href="/device_hooks"
hx-get="/device_hooks?partial=below"
hx-push-url="/events"
>Device Hooks</a>
</nav> Is there something missing, or is there a better way to achieve persisting URL params between links? |
Beta Was this translation helpful? Give feedback.
Answered by
andryyy
Oct 4, 2023
Replies: 1 comment 7 replies
-
Hi, try with this
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Besides that, you just missed a comma in the list:
hx-include="[name='environment'], [name='unit']"
. I totally missed that. 😄 Should work as expected then.