bigskysoftware / bigskysoftware/htmx

htmx.process doesn't seem to process

Open
#3,421 1 comment 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'm using htmx through the sprig implementation for Craft CMS. I love it.

I'm using javascript to dynamically inject some ` {
const $htmxComponents = document.querySelectorAll('.sprig-component');

if($htmxComponents) {
$htmxComponents.forEach($htmxComponent => {
htmx.process($htmxComponent);
});
}
});
```

So my initial htmx load is:
``

And when the above htmx is loaded is then looks like
```

```

Clicking the first

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the shown htmx.ajax and htmx.process flow with the initial and injected checkbox markup. Compare how the first and second inputs are initialized, and consider the work done when the injected checkbox triggers the same request as the initial one.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.