News for hackers. Stuff that matters.
Re:A contribution to the wild-bug-hunt-story genre by graypegg on Friday August 09, 2024 @03:33PM (#41204727)
To be fair, <a> tags can't send out non-GET requests. Which yes, can be interpreted as "logout controls should be buttons in forms, not links", but I would really like native htmx-like attributes for intractable html elements.
Re:A contribution to the wild-bug-hunt-story genre by zbentley on Friday August 09, 2024 @09:27PM (#41206690)
What’s stopping you from using htmx with a form? Hx-post works as a form element attribute just fine.
Re:A contribution to the wild-bug-hunt-story genre by graypegg on Saturday August 10, 2024 @01:15PM (#41210826)
Nothing. I just think it logically makes sense as a native feature.