HTMX interactive forms - status updates and filters

t-151.2·WorkTask·
·
·
·Omni/Jr.hs
Parent:t-151·Created3 months ago·Updated3 months ago

Description

Edit

Make forms interactive with HTMX:

1. Status update dropdown on task detail:

  • hx-post='/tasks/:id/status'
  • hx-swap='outerHTML' on the status badge
  • No page reload needed

2. Filter form on /tasks:

  • hx-get='/tasks' on form
  • hx-push-url='true' to update browser URL
  • hx-target='#task-list' to only replace the list

Timeline (0)

No activity yet.