quii / todo

spiking out a todo list with htmx
214 stars 19 forks source link

Update input attributes & styles #2

Closed wintorez closed 11 months ago

wintorez commented 11 months ago

I'm new to Go & HTMX, and learned a lot from your excellent example. Just noticed a couple of minor things:

  1. Added "required" attribute to inputs to avoid adding "blank" todo items
  2. Change the input type of Search from "text" to "search" to support clearing, etc.
  3. Changed the cursor of the draggable items, so it becomes more clear that the items are sortable, and clickable.
quii commented 11 months ago

Nice one!