Skip to content

Why does the 'addmore' array button prevent propagation? #32

@adam-clarey

Description

@adam-clarey

On line 1305 of jsonform.js there is the line

evt.stopPropagation();

Which means I'm unable to listen for then someone clicks it. I need this event as I have JS to execute when a new array item is added.

I'm guessing there is a reason for this, I just can't see what or how to get around it. For the time being I've commented out this line but that's not a long-term fix.

Ideally there would be an event/hook that gets called whenever a new item is added for just such a need

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