bigskysoftware / bigskysoftware/htmx

Unable to disable inherit for hx-ext with hx-disinherit or htmx.config.disableInheritance

Open
#3,016 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
49.4k
Forks
1.7k
Avg merge
3d 22h
Merged PRs (30d)
30

Description

I wonder why the inheritance of `hx-ext` is not done in the same way as the inheritance of all other attributes in htmx? If you disable the inheritance globally, this has no effect on `hx-ext`. Instead, you have to write the following to "ignore" the extension in a subtree, which is a bit annoying.

```html


Details

```

IMO it would be better to do the following:

```html

Details

```

or

```html

Details

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.