Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inherit list-keyword in hx-include / hx-indicator #1766

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Telroshan
Copy link
Collaborator

This addresses #1754
This change allows inheriting parent hx-include / hx-indicator values and expanding on them, such as:

<div hx-include="#someInput">
  <div hx-include="inherit, .some-class">
      <button hx-include="inherit, #anotherThing" hx-post="/url"></button>
  </div>
</div>

Which would result in the button's request including #someInput, .some-class as well as #anotherThing

@Telroshan Telroshan changed the title [New feature] Inherit keyword in hx-include / hx-indicator [New feature] Inherit list-keyword in hx-include / hx-indicator Sep 5, 2023
@Telroshan Telroshan added enhancement New feature or request ready for review Issues that are ready to be considered for merging labels Sep 22, 2023
@alexpetros alexpetros changed the title [New feature] Inherit list-keyword in hx-include / hx-indicator Inherit list-keyword in hx-include / hx-indicator Sep 26, 2023
@Telroshan Telroshan removed the ready for review Issues that are ready to be considered for merging label Sep 26, 2023
@Telroshan Telroshan force-pushed the hx-include-inherit-list branch from 54893d9 to 2f5c60a Compare December 13, 2024 06:56
@Telroshan Telroshan added the ready for review Issues that are ready to be considered for merging label Dec 13, 2024
@Telroshan Telroshan force-pushed the hx-include-inherit-list branch from 2f5c60a to 06ade69 Compare February 23, 2025 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ready for review Issues that are ready to be considered for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant