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

Add support for [x-sort:handle] attributes defined in template tags #4483

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

Conversation

SimoTod
Copy link
Collaborator

@SimoTod SimoTod commented Dec 22, 2024

Closes #4482

Many developer uses x-sort with x-for. In this cases, when x-sort gets processed there's technically no [x-sort:handle] in any of the children even when the x-for template would create element with said attribute.

The MR adds some additional logic (in the real word there will probably just be 1 single tag as a direct children but it takes a more generic approach) to support [x-sort:handle] defined in template tags (likely x-for).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant