Sveriges mest populära poddar
hypermedia radio
hypermedia radio

Large table pattern using htmx

19 min•20 juni 2024

Om avsnittet

Mentioned, how to submit and reset a form on success using htmx:

           hx-target="#candidates_add_form"
           hx-swap="beforebegin"
           hx-on::after-request=" if(event.detail.successful) this.reset()"
  >

This assumes the last row is the add form, and places the newly added item directly above it.

hypermedia radio med Lazarus finns tillgänglig på flera plattformar. Informationen på denna sida kommer från offentliga podd-flöden.