Skip to content

The form which triggered an event should be passed as the final argument to event handlers #22

Description

@cwohlman

It should be possible to get the form instance which triggered an event from within any handler of that event:

'documentSubmit': function (e, tmpl, doc, form) {
  // in some cases form != tmpl.form because this handler is attached to a different template
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions