Skip to content

support multiple targets via selectors in oob/partial#3691

Open
MichaelWest22 wants to merge 1 commit intobigskysoftware:four-devfrom
MichaelWest22:oob-multi-target
Open

support multiple targets via selectors in oob/partial#3691
MichaelWest22 wants to merge 1 commit intobigskysoftware:four-devfrom
MichaelWest22:oob-multi-target

Conversation

@MichaelWest22
Copy link
Collaborator

Description

htmx 2 oob supported targeting multiple targets with class selectors etc even though the main swap target does not. We can support this the same in oob and partials by updating insertContent to process multiple swaps from the string based selector used in oob/partial.

Corresponding issue:
#3684

Testing

added a test for oob and one for partial

Checklist

  • I have read the contribution guidelines
  • I have targeted this PR against the correct branch (master for website changes, dev for
    source changes)
  • This is either a bugfix, a documentation update, or a new feature that has been explicitly
    approved via an issue
  • I ran the test suite locally (npm run test) and verified that it succeeded

@MichaelWest22 MichaelWest22 added the htmx 4 Issues specific to htmx version 4 label Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

htmx 4 Issues specific to htmx version 4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant