Open mtlynch opened 5 months ago
Hey, you're totally right, multiple extended selectors aren't supported yet. See #2645 and #2610 for similar issues & discussions.
A current workaround for this is to rely on multiple standard CSS selectors, using for example a parent ID and a child selector, or a sibling selector
Sidenote: Thanks for this library and for Hypermedia Systems! I'm reading the book and experimenting with a port of one of my apps to htmx.
From my experimentation with htmx 2.0.0, it seems like the
hx-disabled-elt
attribute works fine with multiple selectors when they're simple CSS selectors likehx-disabled-elt="#b1, #b2"
, but when I specify multiple selectors usingnext
orfind
, then only the first element in the list is processed.Here's an example using
next
, but I've also seen this withfind
: