You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi!
with htmx and multiswap 2.0 the below response from a go backend reports that
multi-swap.js:36 HTMX multi-swap: selector '#itemstbl-head' not found in source content.HTMX multi-swap: selector '#itemstbl-body' not found in source content.
backend response:
<divid="container-search"><h3>Search / Create Tickets</h3><formid="items-search" hx-target="#itemstbl-body" hx-swap="outerHTML"><divclass="form-group"><labelfor="id">ID:</label><inputtype="text" id="items-search-id" name="id"></div><divclass="form-group"><labelfor="status">Status:</label><inputtype="text" id="items-search-status" name="status"></div><divclass="form-group"><labelfor="name">Name:</label><inputtype="text" id="items-search-name" name="name"></div><buttontype="submit" hx-post="/ticket">Create</button><buttontype="submit" hx-post="/tickets">Search</button></form></div><thead><trid="itemstbl-head"><th>#</th><th>ID</th><th>Name</th><th>Status</th><th>Opened By</th><th>Last Update</th></tr></thead><tbodyid="itemstbl-body"><tr><td>1</td><td>17183655314406920001</td><td><ahref="/17183655314406920001">Ticket 4531</a><td>New</td><td>John Doe</td><td>2024, June 14 HH14:45:31</td></tr><tr><td>2</td><td>17183737278406920001</td><td><ahref="/17183737278406920001">t1</a><td>New</td><td>John Doe</td><td>2024, June 14 HH17:02:07</td></tr><tr><td>3</td><td>17183746410406920001</td><td><ahref="/17183746410406920001">t2</a><td>New</td><td>John Doe</td><td>2024, June 14 HH17:17:21</td></tr><tr><td>4</td><td>17188763319821830001</td><td><ahref="/17188763319821830001">t2</a><td>New</td><td>John Doe</td><td>2024, June 20 HH12:38:51</td></tr><tr><td>5</td><td>17188765338821830001</td><td><ahref="/17188765338821830001">t3</a><td>New</td><td>John Doe</td><td>2024, June 20 HH12:42:13</td></tr></tbody>
hi!
with htmx and multiswap 2.0 the below response from a go backend reports that
backend response:
the backend is triggered with:
I have tried separately by serving only one multiswap selector at a time and the swap works.
please advise what could be wrong.
thank you
The text was updated successfully, but these errors were encountered: