Skip to content

Event listener for add sibling button #134

@amikphoto

Description

@amikphoto

I use HTMX in formset form with siblings. When I press add sibling button formset adds sibling but HTMX doesn't know about DOM changes. There's a procedure in HTMX which could add new content to HTMX DOM but I have to start this procedure after formset siblings was added.
Could you help me with any idea how to do it?
It would be great to have an event listener in formset to start adding sibling and end adding sibling. Or maybe you have another way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions