Open jeffreyhwang opened 2 months ago
Looking at the https://github.com/wimdeblauwe/htmx-spring-boot/blob/69fb0e1604a4fc97d97681df9a37f69b3054e1c5/htmx-spring-boot-thymeleaf/src/main/java/io/github/wimdeblauwe/htmx/spring/boot/thymeleaf/HtmxDialect.java#L27-55, it doesn't look like hx:on is supported.
hx:on
When I try to use it in thymeleaf, it looks like hx:on is being rendered as hx:on, not hx-on.
hx-on
Alternative that works is using th:hx-on::before-request, but I was wondering if there is a way to use hx:on to keep things consistent.
th:hx-on::before-request
Thank you!
Looking at the https://github.com/wimdeblauwe/htmx-spring-boot/blob/69fb0e1604a4fc97d97681df9a37f69b3054e1c5/htmx-spring-boot-thymeleaf/src/main/java/io/github/wimdeblauwe/htmx/spring/boot/thymeleaf/HtmxDialect.java#L27-55, it doesn't look like
hx:on
is supported.When I try to use it in thymeleaf, it looks like
hx:on
is being rendered ashx:on
, nothx-on
.Alternative that works is using
th:hx-on::before-request
, but I was wondering if there is a way to usehx:on
to keep things consistent.Thank you!